Skip to main content
← All vulnerabilities
CVE-2018-14630GHSA-C3PR-H96W-2JJG

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.5.2, 3.4.5, 3.3.8, 3.1.14
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • [UNKNOWN] moodle

    3.5.2, 3.4.5, 3.3.8, 3.1.14

  • moodle/moodlePackagist

    From 3.5.0 · fixed in 3.5.2

  • moodle/moodlePackagist

    From 3.4.0 · fixed in 3.4.5

  • moodle/moodlePackagist

    From 3.2.0 · fixed in 3.3.8

  • moodle/moodlePackagist

    fixed in 3.1.14

References 6

securityfocus.com

git.moodle.org

moodle.org

seclists.org

sec-consult.com

bugzilla.redhat.com