CWE
471
Advisory Published
Advisory Published
Updated

CVE-2011-4301

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

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

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

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203