First published: Wed Jul 11 2012(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
composer/moodle/moodle | >=2.1<2.1.2 | 2.1.2 |
composer/moodle/moodle | >=2.0<2.0.5 | 2.0.5 |
composer/moodle/moodle | <1.9.14 | 1.9.14 |
Moodle | =1.9.2 | |
Moodle | =1.9.3 | |
Moodle | =1.9.4 | |
Moodle | =1.9.5 | |
Moodle | =1.9.6 | |
Moodle | =1.9.7 | |
Moodle | =1.9.8 | |
Moodle | =1.9.9 | |
Moodle | =1.9.10 | |
Moodle | =1.9.11 | |
Moodle | =1.9.12 | |
Moodle | =1.9.13 | |
Moodle | =2.0.0 | |
Moodle | =2.0.1 | |
Moodle | =2.0.2 | |
Moodle | =2.0.3 | |
Moodle | =2.0.4 | |
Moodle | =2.1.0 | |
Moodle | =2.1.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2011-4301 is classified as having a medium severity, allowing attackers to exploit unexpected form submissions.
To fix CVE-2011-4301, upgrade to Moodle 1.9.14, 2.0.5, or 2.1.2 or later.
Moodle versions affected by CVE-2011-4301 include 1.9.x before 1.9.14, 2.0.x before 2.0.5, and 2.1.x before 2.1.2.
The vulnerability in CVE-2011-4301 arises from the `MoodleQuickForm` class not properly handling Forms API `setConstant` operations.
Yes, CVE-2011-4301 can potentially allow remote attackers to submit unexpected content through forms.