CVE-2011-4297
MEDIUM 6.4CVSS 2.0Moodle does not properly restrict comment capabilities
comment/lib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not properly restrict comment capabilities, which allows remote attackers to post a comment by leveraging the guest role and operating on a front-page activity.
- Published
- 16 Jul 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264CWE-863
- Also known as
- GHSA-62wv-866c-rh86
- Sources
- NVDJSONOSV GHSA-62wv-866c-rh86JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.0.2:*:*:*:*:*:*:* |
= 2.0.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.0.3:*:*:*:*:*:*:* |
= 2.0.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| OSV | Packagist | moodle/moodle | >= 2.0.0, < 2.0.4 | 2.0.4 |
| OSV | Packagist | moodle/moodle | >= 2.1.0, < 2.1.1 | 2.1.1 |
References
- http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=9da3c2efadcc5f56cb8adc19c67ed16be35780f3 · WEB
- http://moodle.org/mod/forum/discuss.php?d=182740 · Vendor Advisory, WEB
- http://openwall.com/lists/oss-security/2011/11/14/1 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2011-4297 · ADVISORY
- http://git.moodle.org · PACKAGE
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=9da3c2efadcc5f56cb8adc19c67ed16be35780f3 · WEB
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 16 Jul 2012)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)