CVE-2015-5342
Moodle allows attackers to bypass intended access restrictions
Reported by redhat · Published February 22, 2016
The choice module in Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 allows remote authenticated users to bypass intended access restrictions by visiting a URL to add or delete responses in the closed state.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| moodle | Ubuntu:16.04:LTS | 2.7.11+dfsg-2 |
| moodle | moodle | 2.6.11 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| moodle | moodle | 0, 2.8.0, 2.9.0 |
| n/a | n/a | * |
Timeline
- Feb 22, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Oct 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-5342
vulnetix vdb fixes CVE-2015-5342
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-5342/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2015-5342 advisory
- https://github.com/moodle/moodle/commit/02d8c8ca394ba053905f9b87c155042aabf0ce1b fix
- https://github.com/moodle/moodle/commit/09bb6f19e5814deb25ae6ceb8270063430b8941f fix
- https://github.com/advisories/GHSA-6xpm-q8x9-j3rw advisory
- https://github.com/moodle/moodle/commit/fb2491effb1a7d5d7abb0efba5b3929342990514 fix
- https://github.com/moodle/moodle/commit/5c16db4fc561c97b6a907398ea081cdaf6590214 fix
- https://github.com/moodle/moodle/commit/6283c33979001b035f9fc565b869296f66a61c4e fix
- https://github.com/moodle/moodle/commit/7ca8c34045eb0d2031652b452492fe4abb2c7c8a fix
- https://github.com/moodle/moodle/commit/97394274ee29f0a6eecab330b5bbb8ee335e7ece fix
- https://github.com/moodle/moodle/commit/bdaa571437c6357f322871b068f02a4520b7a23d fix