CVE-2018-14630

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
17/09/2018
Last modified:
17/06/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 3.0.10 (including)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 3.1.0 (including) 3.1.14 (excluding)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 3.3.0 (including) 3.3.8 (excluding)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 3.4.0 (including) 3.4.5 (excluding)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 3.5.0 (including) 3.5.2 (excluding)