CVE-2018-14630: Code Injection

Published Sep 17, 2018
·
Updated

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.

Affected Software

9 affected componentsFixes available
composer/moodle/moodle<3.1.14
3.1.14
composer/moodle/moodle>=3.2.0<3.3.8
3.3.8
composer/moodle/moodle>=3.4.0<3.4.5
3.4.5
composer/moodle/moodle>=3.5.0<3.5.2
3.5.2
Moodle moodle<=3.0.10
Moodle moodle>=3.1.0<3.1.14
Moodle moodle>=3.3.0<3.3.8
Moodle moodle>=3.4.0<3.4.5
Moodle moodle>=3.5.0<3.5.2

Event History

Sep 17, 2018
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
DescriptionSeverityWeakness
May 13, 2022
Advisory Published
via GitHub·01:34 AM

Frequently Asked Questions

1

What is the severity of CVE-2018-14630?

CVE-2018-14630 has a critical severity as it allows for remote code execution through PHP code injection.

2

How do I fix CVE-2018-14630?

To fix CVE-2018-14630, upgrade Moodle to version 3.1.14, 3.3.8, 3.4.5, or 3.5.2 or later.

3

Which versions of Moodle are affected by CVE-2018-14630?

Moodle versions prior to 3.1.14, 3.3.8, 3.4.5, and 3.5.2 are affected by CVE-2018-14630.

4

What type of vulnerability is CVE-2018-14630?

CVE-2018-14630 is a remote code execution vulnerability that arises during XML imports of quiz questions.

5

Can CVE-2018-14630 be exploited by anyone?

Yes, CVE-2018-14630 can potentially be exploited by any authenticated user who can import ddwtos formatted quiz questions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203