Moodle XML import of ddwtos could lead to intentional remote code execution
High severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Jan 26, 2024
Package
Affected versions
>= 3.5.0, < 3.5.2
>= 3.4.0, < 3.4.5
>= 3.2.0, < 3.3.8
< 3.1.14
Patched versions
3.5.2
3.4.5
3.3.8
3.1.14
Description
Published by the National Vulnerability Database
Sep 17, 2018
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Jan 26, 2024
Last updated
Jan 26, 2024
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.
References