CVE-2011-4301: Medium severity moodle vulnerability

Published 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.

Other sources

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.

Affected Software

22 affected componentsFixes available
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 moodle=1.9.2
Moodle moodle=1.9.3
Moodle moodle=1.9.4
Moodle moodle=1.9.5
Moodle moodle=1.9.6
Moodle moodle=1.9.7
Moodle moodle=1.9.8
Moodle moodle=1.9.9
Moodle moodle=1.9.10
Moodle moodle=1.9.11
Moodle moodle=1.9.12
Moodle moodle=1.9.13
Moodle moodle=2.0.0
Moodle moodle=2.0.1
Moodle moodle=2.0.2
Moodle moodle=2.0.3
Moodle moodle=2.0.4
Moodle moodle=2.1.0
Moodle moodle=2.1.1

Event History

Jul 11, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
May 13, 2022
Advisory Published
via GitHub·01:13 AM

Frequently Asked Questions

1

What is the severity of CVE-2011-4301?

CVE-2011-4301 is classified as having a medium severity, allowing attackers to exploit unexpected form submissions.

2

How do I fix CVE-2011-4301?

To fix CVE-2011-4301, upgrade to Moodle 1.9.14, 2.0.5, or 2.1.2 or later.

3

What versions of Moodle are affected by CVE-2011-4301?

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.

4

What is the nature of the vulnerability in CVE-2011-4301?

The vulnerability in CVE-2011-4301 arises from the `MoodleQuickForm` class not properly handling Forms API `setConstant` operations.

5

Can CVE-2011-4301 lead to remote exploitation?

Yes, CVE-2011-4301 can potentially allow remote attackers to submit unexpected content through forms.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203