CVE-2015-5342
MEDIUM 4.3CVSS 3.0Moodle allows attackers to bypass intended access restrictions
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.
- Published
- 22 Feb 2016
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264
- Also known as
- GHSA-6xpm-q8x9-j3rw
- Sources
- NVDJSONOSV GHSA-6xpm-q8x9-j3rwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
<= 2.6.11 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.0:*:*:*:*:*:*:* |
= 2.7.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.1:*:*:*:*:*:*:* |
= 2.7.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.2:*:*:*:*:*:*:* |
= 2.7.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.3:*:*:*:*:*:*:* |
= 2.7.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.4:*:*:*:*:*:*:* |
= 2.7.4 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.5:*:*:*:*:*:*:* |
= 2.7.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.6:*:*:*:*:*:*:* |
= 2.7.6 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.7:*:*:*:*:*:*:* |
= 2.7.7 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.8:*:*:*:*:*:*:* |
= 2.7.8 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.9:*:*:*:*:*:*:* |
= 2.7.9 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.10:*:*:*:*:*:*:* |
= 2.7.10 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.0:*:*:*:*:*:*:* |
= 2.8.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.1:*:*:*:*:*:*:* |
= 2.8.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.2:*:*:*:*:*:*:* |
= 2.8.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.3:*:*:*:*:*:*:* |
= 2.8.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.4:*:*:*:*:*:*:* |
= 2.8.4 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.5:*:*:*:*:*:*:* |
= 2.8.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.6:*:*:*:*:*:*:* |
= 2.8.6 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.7:*:*:*:*:*:*:* |
= 2.8.7 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.8:*:*:*:*:*:*:* |
= 2.8.8 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.9.0:*:*:*:*:*:*:* |
= 2.9.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.9.1:*:*:*:*:*:*:* |
= 2.9.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.9.2:*:*:*:*:*:*:* |
= 2.9.2 | |
| OSV | Packagist | moodle/moodle | < 2.7.11 | 2.7.11 |
| OSV | Packagist | moodle/moodle | >= 2.8.0, < 2.8.9 | 2.8.9 |
| OSV | Packagist | moodle/moodle | >= 2.9.0, < 2.9.3 | 2.9.3 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-51569 · WEB
- https://moodle.org/mod/forum/discuss.php?d=323237 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-5342 · ADVISORY
- https://github.com/moodle/moodle/commit/02d8c8ca394ba053905f9b87c155042aabf0ce1b · WEB
- https://github.com/moodle/moodle/commit/09bb6f19e5814deb25ae6ceb8270063430b8941f · WEB
- https://github.com/moodle/moodle/commit/5c16db4fc561c97b6a907398ea081cdaf6590214 · WEB
- https://github.com/moodle/moodle/commit/6283c33979001b035f9fc565b869296f66a61c4e · WEB
- https://github.com/moodle/moodle/commit/7ca8c34045eb0d2031652b452492fe4abb2c7c8a · WEB
- https://github.com/moodle/moodle/commit/97394274ee29f0a6eecab330b5bbb8ee335e7ece · WEB
- https://github.com/moodle/moodle/commit/bdaa571437c6357f322871b068f02a4520b7a23d · WEB
- https://github.com/moodle/moodle/commit/fb2491effb1a7d5d7abb0efba5b3929342990514 · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 22 Feb 2016)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)