Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2011-4203

CVE-2011-4203: Improper Control of Generation of Code ('Code Injection')

May 13, 2022 (updated January 17, 2024)

CRLF injection vulnerability in calendar/set.php in the Calendar component in Moodle 1.9.x before 1.9.15, 2.0.x before 2.0.6, 2.1.x before 2.1.3, and 2.2 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via vectors involving the url variable.

References

  • penturalabs.wordpress.com/2011/12/13/advisory-crlf-injection-vulnerability-in-moodle/
  • github.com/advisories/GHSA-4w8m-96v9-2c86
  • github.com/moodle/moodle/commit/581e8dba387f090d89382115fd850d8b44351526
  • github.com/moodle/moodle/commit/ae7cc577b7115a7ad7a68dc4986aca9e2bda2cf5
  • github.com/moodle/moodle/commit/bc577df6a974606fcb0882b090b00ea5a4e10cf6
  • github.com/moodle/moodle/commit/e311b14364719b0f7851149ee51c1a4ec732635e
  • moodle.org/mod/forum/discuss.php?d=191754
  • nvd.nist.gov/vuln/detail/CVE-2011-4203

Code Behaviors & Features

Detect and mitigate CVE-2011-4203 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.9.15, all versions starting from 2.0 before 2.0.6, all versions starting from 2.1 before 2.1.3

Fixed versions

  • 1.9.15
  • 2.0.6
  • 2.1.3

Solution

Upgrade to versions 1.9.15, 2.0.6, 2.1.3 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/moodle/moodle/CVE-2011-4203.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.