Ruby 1.8.5/1.8.6/1.9.0 Filesystem filehandler 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.
4.8$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in Ruby 1.8.5/1.8.6/1.9.0. This issue affects the function webrick::httpservlet::filehandler of the component Filesystem. Such manipulation leads to path traversal. This vulnerability is listed as CVE-2008-1891. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in Ruby 1.8.5/1.8.6/1.9.0 (Programming Language Software). Affected by this issue is the function webrick::httpservlet::filehandler of the component Filesystem. The manipulation 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. CVE summarizes:

Directory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2, when using NTFS or FAT filesystems, allows remote attackers to read arbitrary CGI files via a trailing (1) + (plus), (2) %2b (encoded plus), (3) . (dot), (4) %2e (encoded dot), or (5) %20 (encoded space) character in the URI, possibly related to the WEBrick::HTTPServlet::FileHandler and WEBrick::HTTPServer.new functionality and the :DocumentRoot option.

The bug was discovered 04/15/2008. The weakness was presented 04/18/2008 with Apple Product Security (Website). The advisory is shared for download at redhat.com. This vulnerability is handled as CVE-2008-1891 since 04/18/2008. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1006.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 3 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 33261 (Fedora 9 : ruby-1.8.6.230-1.fc9 (2008-5664)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l.

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (41824), Tenable (33261), SecurityFocus (BID 29903†), OSVDB (44682†) and Secunia (SA29794†). See VDB-3775, VDB-42885, VDB-42884 and VDB-42883 for similar entries. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
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
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 33261
Nessus Name: Fedora 9 : ruby-1.8.6.230-1.fc9 (2008-5664)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 860282
OpenVAS Name: Family Connections argv[1] Parameter Remote Arbitrary Command Execution Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

04/15/2008 🔍
04/15/2008 +0 days 🔍
04/18/2008 +3 days 🔍
04/18/2008 +0 days 🔍
04/18/2008 +0 days 🔍
04/21/2008 +3 days 🔍
06/23/2008 +63 days 🔍
06/25/2008 +2 days 🔍
06/26/2008 +1 days 🔍
03/16/2015 +2454 days 🔍
08/08/2019 +1606 days 🔍

Sourcesinfo

Advisory: redhat.com
Organization: Apple Product Security
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-1891 (🔍)
GCVE (CVE): GCVE-0-2008-1891
GCVE (VulDB): GCVE-100-42068
X-Force: 41824
SecurityFocus: 29903 - Ruby Multiple Array and String Handling Functions Multiple Arbitrary Code Execution Vulnerabilities
Secunia: 29794
OSVDB: 44682 - CVE-2008-1891 - Ruby - Directory Traversal Issue
Vulnerability Center: 18233 - WEBrick Directory Traversal Vulnerability via %2b, %2e \x26 %20 Characters in the URL, Low
Vupen: ADV-2008-1245

See also: 🔍

Entryinfo

Created: 03/16/2015 17:00
Updated: 08/08/2019 18:28
Changes: 03/16/2015 17:00 (74), 08/08/2019 18:28 (9)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

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!