GHSA-w66h-c2vj-cm7fmedium
Moodle Authentication Bypass in File Upload
The advisory, in context
Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.
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.3 before 2.3.1
Fixed in 2.3.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3"
},
{
"fixed": "2.3.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3387
- https://github.com/moodle/moodle/commit/3b6629c088f14c6ee8f13a009ff27441d164f334
- https://github.com/moodle/moodle/commit/61a339e59857fd36080f4a468a16cd6a539d90bb
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76954
- https://github.com/moodle/moodle
- https://web.archive.org/web/20121104220059/http://www.securityfocus.com/bid/54481
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-33948
- http://openwall.com/lists/oss-security/2012/07/17/1