Skip to content
OpenAdvisories
High · 8.8 CVE-2018-14630 EUVD-2022-3491GHSA-c3pr-h96w-2jjg

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

Published Sep 17, 2018 · Updated Aug 5, 2024 · Assigned by redhat

Description

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 products

VendorProductAffectedFixed
[UNKNOWN] moodle 3.5.2, 3.4.5, 3.3.8, 3.1.14 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 3.5.0, < 3.5.2 3.5.2 GHSA-c3pr-h96w-2jjg
Packagist moodle/moodle >= 3.4.0, < 3.4.5 3.4.5 GHSA-c3pr-h96w-2jjg
Packagist moodle/moodle >= 3.2.0, < 3.3.8 3.3.8 GHSA-c3pr-h96w-2jjg
Packagist moodle/moodle < 3.1.14 3.1.14 GHSA-c3pr-h96w-2jjg

References