MEDIUM
GHSA-x7r4-26m9-hmgq
Moodle vulnerable to symlink attack
Quick fix
GHSA-x7r4-26m9-hmgq — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^1.9.4Details
`spell-check-logic.cgi` in Moodle 1.9 before 1.9.4, 1.8 before 1.8.8, 1.7 before 1.7.7 and 1.6 before 1.6.9 allows local users to overwrite arbitrary files via a symlink attack on the (1) `/tmp/spell-check-debug.log`, (2) `/tmp/spell-check-before`, or (3) `/tmp/spell-check-after` temporary file.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2008-5153[ADVISORY]
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46708[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://web.archive.org/web/20090821033319/http://secunia.com/advisories/33955[WEB]
- https://web.archive.org/web/20110511083352/http://uvw.ru/report.sid.txt[WEB]
- https://web.archive.org/web/20141121115305/http://www.securityfocus.com/bid/32402[WEB]
- http://lists.debian.org/debian-devel/2008/08/msg00347.html[WEB]
- http://www.debian.org/security/2009/dsa-1724[WEB]