CVE-2011-4203: Moodle/moodle Moodle CRLF Injection Vulnerability Vulnerability
MODERATECVE-2011-4203 is a MODERATE moodle crlf injection vulnerability vulnerability (CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')) affecting Moodle/moodle libraries in the Packagist ecosystem. The issue involves moodle crlf injection vulnerability in calendar component. Remediation is available by upgrading affected packages to version 1.9.15, 2.0.6, 2.1.3.
CVE-2011-4203 at a Glance
How to Fix CVE-2011-4203
To remediate this vulnerability, upgrade all affected Moodle/moodle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade moodle/moodle to 1.9.15
Upgrade moodle/moodle to 2.0.6
Upgrade moodle/moodle to 2.1.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for moodle/moodle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2011-4203, inspect your project dependencies for Moodle/moodle:
inspect dependencies for moodle/moodle
Analyze the terminal output to locate any version of Moodle/moodle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.15), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting'), where the product receives data from an http agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes cr and lf characters before the data is included in outgoing http headers. In Moodle/moodle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2011-4203 Affected Moodle/moodle Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
moodle/moodle
|
Packagist |
< 1.9.15
|
1.9.15
|
|
moodle/moodle
|
Packagist |
≥ 2.0
< 2.0.6
|
2.0.6
|
|
moodle/moodle
|
Packagist |
≥ 2.1
< 2.1.3
|
2.1.3
|
References
Frequently Asked Questions
What is CVE-2011-4203?
Which Moodle/moodle versions are affected?
What version fixes CVE-2011-4203?
Is moodle/moodle affected?
What CWE is associated with CVE-2011-4203?
How can I check Packagist dependencies for CVE-2011-4203?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4w8m-96v9-2c86",
"modified" : "2024-01-17T18:51:01Z",
"published" : "2022-05-13T01:13:04Z",
"aliases" : [ "CVE-2011-4203" ],
"summary" : "Moodle CRLF Injection Vulnerability in Calendar Component",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.15"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0"
}, {
"fixed" : "2.0.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1"
}, {
"fixed" : "2.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-4203"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/581e8dba387f090d89382115fd850d8b44351526"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/ae7cc577b7115a7ad7a68dc4986aca9e2bda2cf5"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/bc577df6a974606fcb0882b090b00ea5a4e10cf6"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/e311b14364719b0f7851149ee51c1a4ec732635e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/moodle/moodle"
}, {
"type" : "WEB",
"url" : "https://moodle.org/mod/forum/discuss.php?d=191754"
}, {
"type" : "WEB",
"url" : "http://penturalabs.wordpress.com/2011/12/13/advisory-crlf-injection-vulnerability-in-moodle"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-113", "CWE-93" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-17T18:51:01Z",
"nvd_published_at" : "2011-12-22T15:29:00Z"
}
}