GHSA-c3pr-h96w-2jjg

    Dashboard / Vulnerabilities / GHSA-c3pr-h96w-2jjg

    GHSA-c3pr-h96w-2jjg

    Published: 13 May 2022Last Modified: 16 Feb 2024

    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.

    Affected packages

    Package

    Name: moodle/moodle

    Purl: pkg:composer/moodle/moodle

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.5.0
    Fixed -3.5.2

    Affected versions

    v3.5.0
    v3.5.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High