Moodle Allows Modification of Constants
Moderate severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Jan 17, 2024
Package
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
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
The
MoodleQuickFormclass in the Forms Library inlib/formslib.phpin 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 APIsetConstantoperations, which allows remote attackers to submit unexpected form content by modifying the values of constant fields.References