CVE-2018-14630
Moodle XML import of ddwtos could lead to intentional remote code execution
Overview
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-20, CWE-94
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | moodle/moodle | >=3.5.0, <3.5.2>=3.4.0, <3.4.5>=3.2.0, <3.3.8<3.1.14 | 3.5.23.4.53.3.83.1.14 |
Open a package to see all its vulnerabilities.
Operating systems · 1 fix
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | moodle | affected |
References
- git.moodle.org http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880
- www.securityfocus.com http://www.securityfocus.com/bid/105354
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14630
- claudiospiess.com https://claudiospiess.com/posts/exploiting-moodle/
- github.com https://github.com/moodle/moodle
- github.com https://github.com/moodle/moodle/commit/09cbca8566a388e8f0a1a0cfd86cd0667088ed2c
- github.com https://github.com/moodle/moodle/commit/be092b730910ad97fff0511e177a097ec1cc4b1c
- github.com https://github.com/moodle/moodle/commit/cb8aefa658cf7ad8f002a480343afb2dea94cc08
- github.com https://github.com/moodle/moodle/commit/cfc4393aa689c277a27b9a040ff7dcbdac4e41dd
- github.com https://github.com/moodle/moodle/commit/da1eeea0ff3d292b7669e478abc114872dd9cc8f
Show all 17 references
- moodle.org https://moodle.org/mod/forum/discuss.php?d=376023
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-14630
- seclists.org https://seclists.org/fulldisclosure/2018/Sep/28
- web.archive.org https://web.archive.org/web/20200227111301/https://www.securityfocus.com/bid/105354
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-14630
- www.sec-consult.com https://www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-moodle-open-source-learning-platform-cve-2018-14630
- www.sec-consult.com https://www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-moodle-open-source-learning-platform-cve-2018-14630/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.