{"id":"GHSA-62wv-866c-rh86","aliases":["CVE-2011-4297"],"title":"Moodle does not properly restrict comment capabilities","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","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.","severity":"medium","score":6.6,"published":"2022-05-13T01:13:15.000Z","modified":"2025-04-12T03:27:06.418Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-62wv-866c-rh86","url":"https://osv.dev/vulnerability/GHSA-62wv-866c-rh86"}],"ranges":[{"events":[{"introduced":"2.0.0"},{"fixed":"2.0.4"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.0.4"]},{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-62wv-866c-rh86","url":"https://osv.dev/vulnerability/GHSA-62wv-866c-rh86"}],"ranges":[{"events":[{"introduced":"2.1.0"},{"fixed":"2.1.1"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.1.1"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2011-4297","http://git.moodle.org","http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=9da3c2efadcc5f56cb8adc19c67ed16be35780f3","http://git.moodle.org/gw?p=moodle.git;a=commit;h=9da3c2efadcc5f56cb8adc19c67ed16be35780f3","http://moodle.org/mod/forum/discuss.php?d=182740","http://openwall.com/lists/oss-security/2011/11/14/1"],"sources":[{"name":"OSV","id":"GHSA-62wv-866c-rh86","modified":"2025-04-12T03:27:06.418627Z","url":"https://osv.dev/vulnerability/GHSA-62wv-866c-rh86"}],"assessments":[{"source":"OSV","vector":"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","score":6.6}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T18:15:34.797Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}