PT-2015-1603 · Moodle · Moodle

Emiel Florijn

·

Published

2015-02-09

·

Updated

2022-05-13

·

CVE-2015-1493

CVSS v2.0

6.8

Medium

VectorAV:N/AC:L/Au:S/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions Moodle versions prior to 2.5.9 Moodle versions 2.6.x before 2.6.8 Moodle versions 2.7.x before 2.7.5 Moodle versions 2.8.x before 2.8.3
Description The issue exists due to incorrect restriction of the directory path name in the min get slash argument function of the lib/configonlylib.php component in the Moodle learning management system. This allows a remote attacker to read arbitrary files by exploiting the directory traversal vulnerability using a .. (dot dot) in the file parameter.
Recommendations For Moodle versions prior to 2.5.9, update to version 2.5.9 or later. For Moodle versions 2.6.x before 2.6.8, update to version 2.6.8 or later. For Moodle versions 2.7.x before 2.7.5, update to version 2.7.5 or later. For Moodle versions 2.8.x before 2.8.3, update to version 2.8.3 or later. As a temporary workaround, consider restricting access to the min get slash argument function in lib/configonlylib.php to minimize the risk of exploitation.

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2015-10935
CVE-2015-1493
GHSA-GPHJ-63H8-R9VQ
MGASA-2015-0057

Affected Products

Moodle