MEDIUM4.3
GHSA-44xp-wj24-9xxj
Moodle allows attackers to delete files
Quick fix
GHSA-44xp-wj24-9xxj — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.7.10Details
The wiki component in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 does not consider the mod/wiki:managefiles capability before authorizing file management, which allows remote authenticated users to delete arbitrary files by using a manage-files button in a text editor.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
2.7.0Fixed in: 2.7.10Fix
composer require moodle/moodle:^2.7.10References
- https://nvd.nist.gov/vuln/detail/CVE-2015-5265[ADVISORY]
- https://github.com/moodle/moodle/commit/037e05e8b266bff4835f0d2eea33ef86fb71d585[WEB]
- https://github.com/moodle/moodle/commit/1d70050f33edb79b974de2509f18c943969589ea[WEB]
- https://github.com/moodle/moodle/commit/40a154551fcdf0b9ea906f4d1313df29754f1fa1[WEB]
- https://github.com/moodle/moodle/commit/78de2e86e8506222cf49b1cc6dc58467750ae83d[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=320289[WEB]
- https://web.archive.org/web/20160323063809/http://www.securitytracker.com/id/1033619[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-48371[WEB]
- http://www.openwall.com/lists/oss-security/2015/09/21/1[WEB]