Advisory

GHSA-c3pr-h96w-2jjg

Also known as: CVE-2018-14630

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-13 01:34 UTC
Modified
2024-02-16 08:23 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.5.0, fixed 3.5.2 (ecosystem)

Fixed versions

3.5.2

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.4.0, fixed 3.4.5 (ecosystem)

Fixed versions

3.4.5

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.2.0, fixed 3.3.8 (ecosystem)

Fixed versions

3.3.8

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 0, fixed 3.1.14 (ecosystem)

Fixed versions

3.1.14

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences