CSRF in Moodle
CVE-2018-16854
A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4.5, 3.3 to 3.3.8, 3.1 to 3.1.14 and earlier. The login form is not protected by a token to prevent login cross-site request forgery. Fixed versions include 3.6, 3.5.3, 3.4.6, 3.3.9 and 3.1.15.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.023, 83.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Moodle
- [Unknown] Moodle — versions 3.3.9, 3.1.15, 3.5.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- danielthatcher/moodle-login-csrf (7 stars, last pushed 2019-07-21): Scripts for exploiting MSA-18-0020 (CVE-2018-16854) and MSA-19-0004 (CVE-2019-3847)
Also mentioned in 2 other repositories (0xT11/CVE-POC, jev770/badmoodle-scan). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- www.securitytracker.com/id/1042154 (Third Party Advisory, VDB Entry, vdb-entry)
- git.moodle.org/gw (Patch, Vendor Advisory)
- www.securityfocus.com/bid/106017 (Third Party Advisory, VDB Entry, vdb-entry)
- moodle.org/mod/forum/discuss.php (Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.