CVE-2015-3181: Moodle allows attackers to bypass file-management restrictions
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.
Other sources
Moodle allows attackers to bypass file-management restrictions
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 2.8.6 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 2.7.8 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 2.6.11 - Upgrade
Upgrade
Moodleto a version that resolves this vulnerability.Fixed in 2.6.11 - Upgrade
Upgrade
Moodleto a version that resolves this vulnerability.Fixed in 2.7.8 - Upgrade
Upgrade
Moodleto a version that resolves this vulnerability.Fixed in 2.8.6
Event History
Frequently Asked Questions
What is the severity of CVE-2015-3181?
CVE-2015-3181 has been classified as a medium severity vulnerability.
How do I fix CVE-2015-3181?
To fix CVE-2015-3181, upgrade to Moodle version 2.6.11, 2.7.8, or 2.8.6 and above.
Who is affected by CVE-2015-3181?
CVE-2015-3181 affects users of Moodle versions 2.5.0 to 2.8.5.
What type of vulnerability is CVE-2015-3181?
CVE-2015-3181 is a file management issue that allows bypassing intended upload restrictions.
Can CVE-2015-3181 be exploited remotely?
Yes, CVE-2015-3181 can be exploited by remote authenticated users.