Improper Access Control Affecting moodle/moodle package, versions <2.6.11>=2.7.0-beta, <2.7.8>=2.8.0-beta, <2.8.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (52nd 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 Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-6209214
  • published29 Jan 2024
  • disclosed13 May 2022
  • creditJuan Leyva

Introduced: 13 May 2022

CVE-2015-3181  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 2.6.11, 2.7.8, 2.8.6 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Improper Access Control due to improper validation of user capabilities in the files/externallib.php script. An attacker can bypass file-management restrictions by using web services to perform uploads after the capability to manage private files has been revoked.

CVSS Scores

version 3.1