MSA-18-0017: Moodle XML import of ddwtos could lead to intentional remote code execution

MSA-18-0017: Moodle XML import of ddwtos could lead to intentional remote code execution

by Michael Hawkins -
Number of replies: 0

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.


Severity/Risk: Serious
Versions affected: 3.5 to 3.5.1, 3.4 to 3.4.4, 3.1 to 3.1.13 and earlier unsupported versions
Versions fixed: 3.5.2, 3.4.5, 3.3.8 and 3.1.14
Reported by: Johannes Moritz
CVE identifier: CVE-2018-14630
Changes (master): http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880
Tracker issue: MDL-62880 Moodle XML import of ddwtos could lead to intentional remote code execution