Moodle cross-site scripting (XSS) vulnerability
The advisory, in context
Cross-site scripting (XSS) vulnerability in the URL downloader repository in repository/url/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 2.4.10
Fixed in 2.4.10
19 explicitly affected versions
v2.3.10, v2.3.11, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.0-rc1, v2.4.1, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.4.10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.3.10",
"v2.3.11",
"v2.3.4",
"v2.3.5",
"v2.3.6",
"v2.3.7",
"v2.3.8",
"v2.3.9",
"v2.4.0",
"v2.4.0-rc1",
"v2.4.1",
"v2.4.2",
"v2.4.3",
"v2.4.4",
"v2.4.5",
"v2.4.6",
"v2.4.7",
"v2.4.8",
"v2.4.9"
]
}From 2.5.0 before 2.5.6
Fixed in 2.5.6
6 explicitly affected versions
v2.5.0, v2.5.1, v2.5.2, v2.5.3, v2.5.4, v2.5.5
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.5.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.5.0",
"v2.5.1",
"v2.5.2",
"v2.5.3",
"v2.5.4",
"v2.5.5"
]
}From 2.6.0 before 2.6.3
Fixed in 2.6.3
3 explicitly affected versions
v2.6.0, v2.6.1, v2.6.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.6.0"
},
{
"fixed": "2.6.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.6.0",
"v2.6.1",
"v2.6.2"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0218
- https://github.com/moodle/moodle/commit/5c276a4c324b5137064496d6dd68e71476015fcd
- https://github.com/moodle/moodle/commit/729783c4ba971413198f30784b48e3f2107a8da6
- https://github.com/moodle/moodle/commit/b8a6f7d19d623bcf992d8ecda94324100bc50e9d
- https://github.com/moodle/moodle/commit/c5e8a036c509197bb2927f47c0579992be479f35
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=260366
- https://web.archive.org/web/20141224120458/http://www.securityfocus.com/bid/67479
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-45332
- http://openwall.com/lists/oss-security/2014/05/19/1