MEDIUM
GHSA-w66h-c2vj-cm7f
Moodle Authentication Bypass in File Upload
Quick fix
GHSA-w66h-c2vj-cm7f — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.3.1Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3387[ADVISORY]
- https://github.com/moodle/moodle/commit/3b6629c088f14c6ee8f13a009ff27441d164f334[WEB]
- https://github.com/moodle/moodle/commit/61a339e59857fd36080f4a468a16cd6a539d90bb[WEB]
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76954[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://web.archive.org/web/20121104220059/http://www.securityfocus.com/bid/54481[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-33948[WEB]
- http://openwall.com/lists/oss-security/2012/07/17/1[WEB]