Advisory

GHSA-62wv-866c-rh86

Also known as: CVE-2011-4297

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:13 UTC
Modified
2025-04-12 03:27 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.0.4 (ecosystem)

Fixed versions

2.0.4

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.1.0, fixed 2.1.1 (ecosystem)

Fixed versions

2.1.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences