RCE in Moodle
CVE-2018-14630
moodle before versions 3.5.2, 3.4.5, 3.3.8, 3.1.14 is vulnerable to an XML import of ddwtos could lead to intentional remote code execution. When importing legacy 'drag and drop into text' (ddwtos) type quiz questions, it was possible to inject and execute PHP code from within the imported questions, either intentionally or by importing questions from an untrusted source.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.046, 91.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Moodle
- [Unknown] Moodle — versions 3.5.2, 3.1.14, 3.4.5
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, filipnyquist/search_vulns, jev770/badmoodle-scan, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/105354 (Third Party Advisory, VDB Entry, vdb-entry)
- git.moodle.org/gw (Patch, Vendor Advisory)
- moodle.org/mod/forum/discuss.php (Patch, Vendor Advisory)
- 20180918 SEC Consult SA-20180918-0 :: Remote Code Execution via PHP unserialize in Moodle open-source learning platform (mailing-list, Exploit, Mailing List, Third Party Advisory)
- www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-mo… (Exploit, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)