Vulnerabilities · 2018 · Moodle
CVE-2018-14630
Moodle vulnerability
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.
Affected products
Moodle. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Moodle runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880 · Patch
- moodle.org/mod/forum/discuss.php?d=376023 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14630 · Patch
- www.securityfocus.com/bid/105354 · Third Party Advisory
- seclists.org/fulldisclosure/2018/Sep/28 · Exploit
- www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-moodle-open-s · Exploit
- nvd.nist.gov/vuln/detail/CVE-2018-14630
- cve.org/CVERecord?id=CVE-2018-14630
More vulnerabilities in Moodle products
CVE-2025-62401CVE-2025-62400CVE-2025-62399CVE-2025-62398CVE-2025-62397CVE-2025-62396CVE-2025-62395CVE-2025-62394All 611
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.