Moodle up to 2.5.9/2.6.6/2.7.3/2.8.1 lib/configonlylib.php min_get_slash_argument file path traversal

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

A vulnerability, which was classified as critical, has been found in Moodle up to 2.5.9/2.6.6/2.7.3/2.8.1 (Learning Management Software). This issue affects the function min_get_slash_argument in the library lib/configonlylib.php. The manipulation of the argument file with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Directory traversal vulnerability 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 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.

The weakness was disclosed 06/01/2015 (Website). It is possible to read the advisory at moodle.org. The identification of this vulnerability is CVE-2015-1493 since 02/05/2015. The attack may be initiated remotely. The requirement for exploitation is a simple authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1006 according to MITRE ATT&CK.

By approaching the search of inurl:lib/configonlylib.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 82601 (Fedora 20 : moodle-2.6.10-1.fc20 (2015-4530)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks.

Upgrading to version 2.6.7, 2.7.4 or 2.8.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (100731) and Tenable (82601). The entries 74008, 74009, 74010 and 74011 are pretty similar.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Path traversal
CWE: CWE-22
ATT&CK: T1006

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 82601
Nessus Name: Fedora 20 : moodle-2.6.10-1.fc20 (2015-4530)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for moodle FEDORA-2015-4724
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Moodle 2.6.7/2.7.4/2.8.2
Patch: af9a7937cc085f96bdbc4724cadec6eeae0242fc

Timelineinfo

02/04/2015 🔍
02/04/2015 +0 days 🔍
02/05/2015 +1 days 🔍
04/07/2015 +61 days 🔍
06/01/2015 +55 days 🔍
06/01/2015 +0 days 🔍
06/02/2015 +1 days 🔍
06/09/2015 +7 days 🔍
05/19/2022 +2536 days 🔍

Sourcesinfo

Product: moodle.org

Advisory: moodle.org
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-1493 (🔍)
X-Force: 100731
Vulnerability Center: 50416 - Moodle Remote File System Read via URL Request Containing \, Medium
SecurityFocus: 72507 - Moodle 'min_get_slash_argument()' Function Information Disclosure Vulnerability

See also: 🔍

Entryinfo

Created: 06/02/2015 09:58
Updated: 05/19/2022 20:09
Changes: 06/02/2015 09:58 (65), 06/30/2017 05:46 (8), 05/19/2022 20:01 (4), 05/19/2022 20:09 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!