mongrel 1.0.4/1.1.1/1.1.2 lib/mongrel/handlers.rb 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.9$0-$5k0.00

A vulnerability was found in mongrel 1.0.4/1.1.1/1.1.2. It has been classified as problematic. This affects an unknown code in the library lib/mongrel/handlers.rb. The manipulation 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, and integrity. The summary by CVE is:

Directory traversal vulnerability in DirHandler (lib/mongrel/handlers.rb) in Mongrel 1.0.4 and 1.1.x before 1.1.3 allows remote attackers to read arbitrary files via an HTTP request containing double-encoded sequences (".%252e").

The bug was discovered 12/28/2007. The weakness was disclosed 12/28/2007 (Website). The advisory is shared at us-cert.gov. This vulnerability is uniquely identified as CVE-2007-6612 since 01/03/2008. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a exploit are known. MITRE ATT&CK project uses the attack technique T1006 for this issue.

After even before and not, there has been an exploit disclosed. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 32477 (Mac OS X 10.5.x < 10.5.3 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 115812 (Apple Mac OS X 10.5.3 and Security Update 2008-003 Not Installed (APPLE-SA-2008-05-28)).

Upgrading to version 1.0.4 eliminates this vulnerability. A possible mitigation has been published 7 hours after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (39412) and Tenable (32477). The entries 37528, 39128, 39127 and 38768 are pretty similar.

Productinfo

Name

Version

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.5
VulDB Meta Temp Score: 5.9

VulDB Base Score: 6.5
VulDB Temp Score: 5.9
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: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 32477
Nessus Name: Mac OS X 10.5.x < 10.5.3 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 102031
OpenVAS Name: get_kb_item(ssh/login/osx_name
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: mongrel 1.0.4

Timelineinfo

12/28/2007 🔍
12/28/2007 +0 days 🔍
12/28/2007 +0 days 🔍
12/28/2007 +0 days 🔍
12/28/2007 +0 days 🔍
12/29/2007 +0 days 🔍
01/03/2008 +5 days 🔍
01/03/2008 +0 days 🔍
01/04/2008 +1 days 🔍
05/29/2008 +145 days 🔍
06/02/2008 +4 days 🔍
03/16/2015 +2478 days 🔍
08/11/2019 +1609 days 🔍

Sourcesinfo

Advisory: us-cert.gov
Status: Not defined
Confirmation: 🔍

CVE: CVE-2007-6612 (🔍)
X-Force: 39412
Vulnerability Center: 18503 - Mongrel 1.0.4 and 1.1 - 1.1.2 Directory Traversal Vulnerability Allows Remote File Disclosure, Medium
SecurityFocus: 27133 - Mongrel 'DirHandler' Class Directory Traversal Information Disclosure Vulnerability
Secunia: 28323
OSVDB: 39866 - Mongrel DirHandler (lib/mongrel/handlers.rb) Encoded Traversal Arbitrary File Access
Vupen: ADV-2008-1697

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/16/2015 13:43
Updated: 08/11/2019 06:55
Changes: 03/16/2015 13:43 (78), 08/11/2019 06:55 (5)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!