Authorization Bypass Affecting moodle/moodle package, versions <4.1.9 >=4.2, <4.2.6 >=4.3, <4.3.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (17th 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-6254780
  • published 20 Feb 2024
  • disclosed 19 Feb 2024
  • credit Leon Stringer

How to fix?

Upgrade moodle/moodle to version 4.1.9, 4.2.6, 4.3.3 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Authorization Bypass due to the handling of Separate Groups mode restrictions in the H5P attempts report, which improperly displays users from other groups. By default, this only provided additional access to non-editing teachers.

Note:

This is only exploitable if the Moodle site has been configured to use separate groups mode and the attacker has the role of a non-editing teacher.

CVSS Scores

version 3.1
Expand this section

Snyk

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