Skip to content

Moodle allows attackers to bypass file-management restrictions

Moderate severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jan 26, 2024

Package

composer moodle/moodle (Composer)

Affected versions

< 2.6.11
>= 2.7.0, < 2.7.8
>= 2.8.0, < 2.8.6

Patched versions

2.6.11
2.7.8
2.8.6

Description

files/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 does not consider the moodle/user:manageownfiles capability before approving a private-file upload, which allows remote authenticated users to bypass intended file-management restrictions by using web services to perform uploads after this capability has been revoked.

References

Published by the National Vulnerability Database Jun 1, 2015
Published to the GitHub Advisory Database May 13, 2022
Reviewed Jan 26, 2024
Last updated Jan 26, 2024

Severity

Moderate

EPSS score

0.145%
(52nd percentile)

Weaknesses

No CWEs

CVE ID

CVE-2015-3181

GHSA ID

GHSA-622h-cjgg-5mx6

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.