CVE-2015-3181 json
Moodle allows attackers to bypass file-management restrictions
published 2015-06-01 11 y ago modified 2026-06-17 4 mo ago also GHSA-622h-cjgg-5mx6 , EUVD-2022-2685
- cvss
- 4.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 2.6.11, 2.7.8, 2.8.6
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-3181 updated cvss 5.8
moodle: several flaws fixed in 2.9, 2.8.6, 2.7.8, 2.6.11
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <2.6.11 >=2.7.0, <2.7.8 >=2.8.0, <2.8.6 |
2.6.11 2.7.8 2.8.6 |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
github.com
/moodle/moodle/commit/350397da93c557f577e7d62e7fc3e233792ad171
web
-
github.com
/moodle/moodle/commit/4b6b64685affa66784fd238c1bbc1eb0651492a0
web
-
github.com
/moodle/moodle/commit/57d9a750e3da6708dba13513e9b05e84a895ad9f
web
-
github.com
/moodle/moodle/commit/8e8ee7530427a10e409386657484e9fd5effc438
web
-
moodle.org
/mod/forum/discuss.php?d=313688
web, vendor-advisory
-
securityfocus.com
/bid/74728
vdb-entry
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-49994
web
-
securitytracker.com
/id/1032358
vdb-entry
-
openwall.com
/lists/oss-security/2015/05/18/1
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2015-3181
advisory
-
github.com
/moodle/moodle
package
-
web.archive.org
/web/20200228054133/http://www.securityfocus.com/bid/74728
web
-
web.archive.org
/web/20201030042703/http://www.securitytracker.com/id/1032358
web
Sources
- CVE List CVE-2015-3181
- GitHub Advisory GHSA-622h-cjgg-5mx6
- NVD CVE-2015-3181
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.