CVE-2018-14630
Moodle XML import of ddwtos could lead to intentional remote code execution
Reported by redhat · Published September 17, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| moodle | moodle | 3.5.2, 3.4.5, 3.3.8, 3.1.14, 3.0.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | moodle | 3.5.2, 3.4.5, 3.3.8 |
| [UNKNOWN] | moodle | 3.5.2, 3.4.5, 3.3.8 |
| moodle | moodle | 0, 3.1.0, 3.3.0 |
Timeline
- Sep 17, 2018 CVE Published
- Sep 19, 2018 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Sep 24, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-14630
vulnetix vdb fixes CVE-2018-14630
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-14630/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 105354 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 20180918 SEC Consult SA-20180918-0 :: Remote Code Execution via PHP unserialize in Moodle open-source learning platform mailing-listx_refsource_FULLDISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2018-14630 advisory