Advisory

GHSA-jcrj-gmr6-p5j8

Also known as: CVE-2011-4301

Summary

Moodle Allows Modification of Constants

Details

The MoodleQuickForm class in the Forms Library in lib/formslib.php in Moodle 1.9.x before 1.9.14, 2.0.x before 2.0.5, and 2.1.x before 2.1.2 does not recognize Forms API setConstant operations, which allows remote attackers to submit unexpected form content by modifying the values of constant fields.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:13 UTC
Modified
2024-01-17 16:41 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 0, fixed 1.9.14 (ecosystem)

Fixed versions

1.9.14

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.0, fixed 2.0.5 (ecosystem)

Fixed versions

2.0.5

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.1, fixed 2.1.2 (ecosystem)

Fixed versions

2.1.2

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