ADVISORIES

GitHub Advisory Database

GHSA-622h-cjgg-5mx6

Moodle allows attackers to bypass file-management restrictions

Moderate CVE-2015-3181

Details

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

EcosystemPackageAffected versions
Packagistmoodle/moodle
All versions before 2.6.11 (fixed in 2.6.11)
Packagistmoodle/moodle
From 2.7.0 before 2.7.8 (fixed in 2.7.8)
Packagistmoodle/moodle
From 2.8.0 before 2.8.6 (fixed in 2.8.6)

References