CVE-2011-4297 in Moodle
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | 2.0.0 2.0.1 2.0.2 2.0.3 2.1.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2011-4297 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-089415-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| Published | 2012-07-16 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Moodle systems (CVE-2011-4297). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:N/I:P/A:P.
Questions
What is CVE-2011-4297?
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Moodle systems (CVE-2011-4297). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2011-4297?
CVE-2011-4297 has CVSS 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:P. EPSS: 1.5%.
Is CVE-2011-4297 actively exploited?
No confirmed active exploitation of CVE-2011-4297 as of 2026-09-25.
How do I remediate CVE-2011-4297?
Priority: MONITOR. Advisory: http://moodle.org/mod/forum/discuss.php?d=182740 PSIRT: [email protected]
What systems are affected by CVE-2011-4297?
CVE-2011-4297 affects Moodle Moodle.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Moodle","product":"Moodle","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.