GHSA-62wv-866c-rh86

Suggest an improvement
Source
https://github.com/advisories/GHSA-62wv-866c-rh86
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-62wv-866c-rh86/GHSA-62wv-866c-rh86.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-62wv-866c-rh86
Aliases
  • CVE-2011-4297
Published
2022-05-13T01:13:15Z
Modified
2025-04-12T03:27:06Z
Severity
  • 6.6 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Moodle does not properly restrict comment capabilities
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.

Database specific
{
    "cwe_ids": [
        "CWE-863"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-12T02:53:38Z",
    "nvd_published_at": "2012-07-16T10:28:00Z",
    "severity": "MODERATE"
}
References

Affected packages

Packagist / moodle/moodle

Package

Name
moodle/moodle
Purl
pkg:composer/moodle/moodle

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-62wv-866c-rh86/GHSA-62wv-866c-rh86.json"

Packagist / moodle/moodle

Package

Name
moodle/moodle
Purl
pkg:composer/moodle/moodle

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.1.0
Fixed
2.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-62wv-866c-rh86/GHSA-62wv-866c-rh86.json"