Arbitrary Code Execution Affecting moodle/moodle package, versions <3.9.17 >=3.11.0, <3.11.10 >=4.0.0, <4.0.4


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.85% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-MOODLEMOODLE-3038598
  • published 2 Oct 2022
  • disclosed 2 Oct 2022
  • credit Paul Holden

How to fix?

Upgrade moodle/moodle to version 3.9.17, 3.11.10, 4.0.4 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Arbitrary Code Execution in the convert_configdata() function in blocks/html/backup/moodle1/lib.php, when loading a backup file from Moodle 1.9, due to unsafe deserialization.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

9.8 critical