Skip to content
OpenAdvisories
Medium CVE-2011-4301 EUVD-2022-4333GHSA-jcrj-gmr6-p5j8

Moodle Allows Modification of Constants

Published Jul 11, 2012 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 6.0 moodle 1.9.9.dfsg2-2.1+squeeze2 DSA-2338-1

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle < 1.9.14 1.9.14 GHSA-jcrj-gmr6-p5j8
Packagist moodle/moodle >= 2.0, < 2.0.5 2.0.5 GHSA-jcrj-gmr6-p5j8
Packagist moodle/moodle >= 2.1, < 2.1.2 2.1.2 GHSA-jcrj-gmr6-p5j8

Advisories 1

References