Path traversal in Moodle - CVE-2013-4524

 

Path traversal in Moodle - CVE-2013-4524

Published: November 26, 2013 / Updated: January 16, 2023


Vulnerability identifier: #VU42312
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-4524
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in repository/filesystem/lib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3. A remote authenticated attacker can send a specially crafted HTTP request and remote authenticated users to read arbitrary files via a . (dot dot) in a path.


Affected software

Moodle

How to mitigate CVE-2013-4524

Install update from vendor's website.

Moodle - addressed in versions 2.3.10, 2.4.7, 2.5.3

External References

Related Security Bulletins