GHSA-cc94-hwj3-rf65low
Moodle's login_as feature leaks information from external repositories
The advisory, in context
Moodle 2.x through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote authenticated administrators to obtain sensitive information from the external repositories of arbitrary users by leveraging the login_as feature.
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.
moodle/moodle Packagist
Ecosystem versions
From 2.0.0 before 2.2.8
Fixed in 2.2.8
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.8"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}moodle/moodle Packagist
Ecosystem versions
From 2.3.0 before 2.3.5
Fixed in 2.3.5
1 explicitly affected versions
v2.3.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.3.4"
]
}moodle/moodle Packagist
Ecosystem versions
From 2.4.0 before 2.4.2
Fixed in 2.4.2
2 explicitly affected versions
v2.4.0, v2.4.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.4.0"
},
{
"fixed": "2.4.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.4.0",
"v2.4.1"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1835
- https://github.com/moodle/moodle/commit/31581ae65df05ea64031ac24c8b8f817414f1379
- https://github.com/moodle/moodle/commit/6153c8040dd6ecdf03070ad6b538845c263bf722
- https://github.com/moodle/moodle/commit/ded4050f1bb050770df3bc8e78dcfadf815011ea
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=225347
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-36426
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101310.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101358.html
- http://openwall.com/lists/oss-security/2013/03/25/2