Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2008-5153

CVE-2008-5153: Improper Link Resolution Before File Access ('Link Following')

May 17, 2022 (updated February 19, 2024)

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.

References

  • lists.debian.org/debian-devel/2008/08/msg00347.html
  • www.debian.org/security/2009/dsa-1724
  • exchange.xforce.ibmcloud.com/vulnerabilities/46708
  • github.com/advisories/GHSA-x7r4-26m9-hmgq
  • nvd.nist.gov/vuln/detail/CVE-2008-5153
  • web.archive.org/web/20090821033319/http://secunia.com/advisories/33955
  • web.archive.org/web/20110511083352/http://uvw.ru/report.sid.txt
  • web.archive.org/web/20141121115305/http://www.securityfocus.com/bid/32402

Code Behaviors & Features

Detect and mitigate CVE-2008-5153 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.6.0 before 1.6.9, all versions starting from 1.7.0 before 1.7.7, all versions starting from 1.8.0 before 1.8.8, all versions starting from 1.9.0 before 1.9.4

Fixed versions

  • 1.8.8
  • 1.9.4
  • 1.6.9
  • 1.7.7

Solution

Upgrade to versions 1.8.8, 1.9.4, 1.6.9, 1.7.7 or above.

Impact 6.9 MEDIUM

AV:L/AC:M/Au:N/C:C/I:C/A:C

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

packagist/moodle/moodle/CVE-2008-5153.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:35 +0000.