Skip to content
OpenAdvisories
Medium CVE-2015-3181 EUVD-2022-2685GHSA-622h-cjgg-5mx6

Moodle allows attackers to bypass file-management restrictions

Published Jun 1, 2015 · Updated Aug 6, 2024 · Assigned by redhat

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle < 2.6.11 2.6.11 GHSA-622h-cjgg-5mx6
Packagist moodle/moodle >= 2.7.0, < 2.7.8 2.7.8 GHSA-622h-cjgg-5mx6
Packagist moodle/moodle >= 2.8.0, < 2.8.6 2.8.6 GHSA-622h-cjgg-5mx6

References