{"id":"CVE-2008-5153","aliases":["DSA-1724-1","EUVD-2022-5741","GHSA-x7r4-26m9-hmgq"],"status":"published","title":"Moodle vulnerable to symlink attack","description":"spell-check-logic.cgi in Moodle 1.8.2 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.","severity":{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0039,"percentile":0.33416,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2008-11-18T15:00:00Z","modified":"2026-06-16T22:59:21Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["1.9.4","1.8.8","1.7.7","1.6.9"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.8"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.9"}]}]},{"source":"osv","ecosystem":"Debian:4.0","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.3-2+etch2"}]}],"versions":["1.6.3-2","1.6.3-2+etch1"],"bundled":4},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.4"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.8"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.7"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.9"}]}]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://www.securityfocus.com/bid/32402","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.debian.org/debian-devel/2008/08/msg00347.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://uvw.ru/report.sid.txt","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"http://secunia.com/advisories/33955","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2009/dsa-1724","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46708","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5153","tags":["advisory"]},{"url":"https://web.archive.org/web/20090821033319/http://secunia.com/advisories/33955","tags":["web"]},{"url":"https://web.archive.org/web/20110511083352/http://uvw.ru/report.sid.txt","tags":["web"]},{"url":"https://web.archive.org/web/20141121115305/http://www.securityfocus.com/bid/32402","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x7r4-26m9-hmgq"},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2008-5153","description":"spell-check-logic.cgi in Moodle 1.8.2 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.","status":"published","published":"2008-11-18T15:00:00Z","modified":"2024-08-07T10:40:17.184Z","updated_at":"2026-11-02T14:34:43.943588Z"}],"euvd":[{"id":"EUVD-2022-5741","description":"spell-check-logic.cgi in Moodle 1.8.2 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.","status":"published","published":"2008-11-18T15:00:00Z","modified":"2024-08-07T10:40:17Z","updated_at":"2026-11-03T01:38:44.406504Z"}],"ghsa":[{"id":"GHSA-x7r4-26m9-hmgq","title":"Moodle vulnerable to symlink attack","description":"`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.","status":"published","published":"2022-05-17T02:18:02Z","modified":"2024-02-19T05:06:51Z","cwes":["CWE-59"],"updated_at":"2026-11-02T14:37:38.20753Z"}],"nvd":[{"id":"CVE-2008-5153","description":"spell-check-logic.cgi in Moodle 1.8.2 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.","status":"published","published":"2008-11-18T16:00:01.327Z","modified":"2026-06-16T22:59:21.217Z","cvss":[{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:01:29.702694Z"}],"osv":[{"id":"DSA-1724-1","title":"- several vulnerabilities","status":"published","published":"2009-02-13T00:00:00Z","modified":"2026-03-09T01:22:12.165815Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"GHSA-x7r4-26m9-hmgq","title":"Moodle vulnerable to symlink attack","description":"`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.","status":"published","published":"2022-05-17T02:18:02Z","modified":"2024-02-09T19:12:29.532406Z","cwes":["CWE-59"],"updated_at":"2026-11-02T15:46:59.484835Z"}]}}
