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.0: 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/E:U/U:Green
CVE-ID: CVE-2013-4524
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: moodle.org
Affected software:
Moodle

Detailed vulnerability description

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.


How to mitigate CVE-2013-4524

Install update from vendor's website.

Sources