CVE-2018-14630
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.
How to fix
- moodle moodle3.1.14, 3.3.8, 3.4.5, 3.5.2 or later
- moodle/moodle3.5.2, 3.4.5, 3.3.8, 3.1.14 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle moodle | v ≤ 3.0.10, 3.1.0 ≤ v < 3.1.14, 3.3.0 ≤ v < 3.3.8, 3.4.0 ≤ v < 3.4.5, 3.5.0 ≤ v < 3.5.2 | 3.1.14, 3.3.8, 3.4.5, 3.5.2 |
| moodle/moodlePackagist | 3.5.0 ≤ v < 3.5.2, 3.4.0 ≤ v < 3.4.5, 3.2.0 ≤ v < 3.3.8, v < 3.1.14 | 3.5.2, 3.4.5, 3.3.8, 3.1.14 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.