Path traversal in Moodle - CVE-2015-1493

 

Path traversal in Moodle - CVE-2015-1493

Published: June 1, 2015 / Updated: January 16, 2023


Vulnerability identifier: #VU40746
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-2015-1493
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to input validation error when processing directory traversal sequences in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3. A remote authenticated user can send a specially crafted HTTP request and remote authenticated users to read arbitrary files via a . (dot dot) in the file parameter, as demonstrated by reading PHP scripts.


Affected software

Moodle
Fedora
moodle

How to mitigate CVE-2015-1493

Install update from vendor's website.

Moodle - addressed in versions 2.6.8, 2.7.5, 2.8.3
moodle - addressed in versions 2.6.10-1.el6, 2.7.7-1.fc21, 2.8.5-1.fc22

External References

Related Security Bulletins