Description
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.
Metrics
CVSS 3.0 8.8/10
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | moodle | 3.5.2; 3.4.5; 3.3.8; 3.1.14 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880Patch, Vendor Advisory
- http://www.securityfocus.com/bid/105354Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14630Issue Tracking, Patch, Third Party Advisory
- https://moodle.org/mod/forum/discuss.php?d=376023Patch, Vendor Advisory
- https://seclists.org/fulldisclosure/2018/Sep/28Exploit, Mailing List, Third Party Advisory
- https://www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-moodle-open-source-learning-platform-cve-2018-14630/Exploit, Third Party Advisory
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880Patch, Vendor Advisory
- http://www.securityfocus.com/bid/105354Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14630Issue Tracking, Patch, Third Party Advisory
- https://moodle.org/mod/forum/discuss.php?d=376023Patch, Vendor Advisory
- https://seclists.org/fulldisclosure/2018/Sep/28Exploit, Mailing List, Third Party Advisory
- https://www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-moodle-open-source-learning-platform-cve-2018-14630/Exploit, Third Party Advisory
Timeline
- Published
- Sep 17, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified