Improper Input Validation Affecting moodle/moodle package, versions >=2.1.0, <=2.1.19 >=2.2.0, <=2.2.7 >=2.3.0, <=2.3.4 >=2.4, <2.4.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.12% (47th 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-6141131
  • published 1 Jan 2024
  • disclosed 13 May 2022
  • credit Unknown

How to fix?

Upgrade moodle/moodle to version 2.4.1 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Improper Input Validation due to improper validation of pathnames in the backup/converter/moodle1/lib.php script. An attacker can read arbitrary files by leveraging the backup-restoration feature. This is only exploitable if the attacker has the ability to restore backups.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

4.3 medium