~ / search / GHSA-c3pr-h96w-2jjg

GHSA-c3pr-h96w-2jjg

Moodle XML import of ddwtos could lead to intentional remote code execution

Source: GitHub Advisory Database (reviewed) High CVE-2018-14630

Packages

EcosystemPackageAffectedFixed in
Packagist moodle/moodle >= 3.5.0, < 3.5.2 3.5.2
Packagist moodle/moodle >= 3.4.0, < 3.4.5 3.4.5
Packagist moodle/moodle >= 3.2.0, < 3.3.8 3.3.8
Packagist moodle/moodle < 3.1.14 3.1.14

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.