Skip to content

Moodle Allows Modification of Constants

Moderate severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jan 17, 2024

Package

composer moodle/moodle (Composer)

Affected versions

< 1.9.14
>= 2.0, < 2.0.5
>= 2.1, < 2.1.2

Patched versions

1.9.14
2.0.5
2.1.2

Description

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.

References

Published by the National Vulnerability Database Jul 11, 2012
Published to the GitHub Advisory Database May 13, 2022
Reviewed Jan 17, 2024
Last updated Jan 17, 2024

Severity

Moderate

EPSS score

0.329%
(71st percentile)

Weaknesses

CVE ID

CVE-2011-4301

GHSA ID

GHSA-jcrj-gmr6-p5j8

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.