Moodle up to 1.4.2 file.php 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.
5.1$0-$5k0.00

A vulnerability was found in Moodle up to 1.4.2 (Learning Management Software). It has been classified as problematic. Affected is an unknown function of the file file.php. The manipulation of the argument file with an unknown input leads to a path traversal vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality. CVE summarizes:

Directory traversal vulnerability in file.php in Moodle 1.4.2 and earlier allows remote attackers to read arbitrary session files for known session IDs via a .. (dot dot) in the file parameter.

The bug was discovered 12/27/2004. The weakness was disclosed 12/31/2004 by Bartek Nowotarski (Website). The advisory is available at marc.info. This vulnerability is traded as CVE-2004-1425 since 02/12/2005. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1006 by the MITRE ATT&CK project.

By approaching the search of inurl:file.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 15639 (Moodle < 1.4.3 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r.

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (18550) and Tenable (15639). The entries 23138 and 22721 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: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
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: 15639
Nessus Name: Moodle < 1.4.3 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 15639
OpenVAS Name: Moodle SQL injection flaws
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

09/29/2004 🔍
11/06/2004 +38 days 🔍
12/17/2004 +41 days 🔍
12/27/2004 +10 days 🔍
12/28/2004 +1 days 🔍
12/31/2004 +3 days 🔍
12/31/2004 +0 days 🔍
12/31/2004 +0 days 🔍
02/12/2005 +43 days 🔍
06/05/2006 +478 days 🔍
04/14/2015 +3235 days 🔍
06/20/2019 +1528 days 🔍

Sourcesinfo

Product: moodle.org

Advisory: marc.info
Researcher: Bartek Nowotarski
Status: Not defined

CVE: CVE-2004-1425 (🔍)
X-Force: 18550
Vulnerability Center: 11836 - Moodle Directory Traversal in file.php, Medium
SecurityFocus: 12120 - Moodle Multiple Input Validation Vulnerabilities
Secunia: 13515 - Moodle Multiple Vulnerabilities and Security Issues, Moderately Critical
OSVDB: 12636 - CVE-2004-1425 - Moodle - Directory Traversal Issue

See also: 🔍

Entryinfo

Created: 04/14/2015 13:29
Updated: 06/20/2019 12:07
Changes: 04/14/2015 13:29 (75), 06/20/2019 12:07 (5)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!