{"id":"GHSA-x7r4-26m9-hmgq","summary":"Moodle vulnerable to symlink attack","details":"`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.","aliases":["CVE-2008-5153"],"modified":"2024-02-09T19:12:29.532406Z","published":"2022-05-17T02:18:02Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-02-09T18:57:15Z","nvd_published_at":"2008-11-18T16:00:00Z","cwe_ids":["CWE-59"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5153"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46708"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://web.archive.org/web/20090821033319/http://secunia.com/advisories/33955"},{"type":"WEB","url":"https://web.archive.org/web/20110511083352/http://uvw.ru/report.sid.txt"},{"type":"WEB","url":"https://web.archive.org/web/20141121115305/http://www.securityfocus.com/bid/32402"},{"type":"WEB","url":"http://lists.debian.org/debian-devel/2008/08/msg00347.html"},{"type":"WEB","url":"http://www.debian.org/security/2009/dsa-1724"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x7r4-26m9-hmgq/GHSA-x7r4-26m9-hmgq.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x7r4-26m9-hmgq/GHSA-x7r4-26m9-hmgq.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x7r4-26m9-hmgq/GHSA-x7r4-26m9-hmgq.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x7r4-26m9-hmgq/GHSA-x7r4-26m9-hmgq.json"}}],"schema_version":"1.9.0"}