5.0
MEDIUM CVSS 2.0
CVE-2008-1891
WEBrick Directory Traversal Vulnerability
Description

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.

INFO

Published Date :

April 18, 2008, 10:05 p.m.

Last Modified :

April 9, 2025, 12:30 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2008-1891 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ruby-lang ruby
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
Solution
The Ruby packages are vulnerable to a directory traversal issue that could allow for arbitrary file access.
  • Update the affected Ruby packages.
  • Apply the relevant patch.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2008-1891 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2008-1891 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2008-1891 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://aluigi.altervista.org/adv/webrickcgi-adv.txt
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
    Added Reference http://secunia.com/advisories/29794
    Added Reference http://secunia.com/advisories/30831
    Added Reference http://secunia.com/advisories/31687
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2008:140
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2008:141
    Added Reference http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/
    Added Reference http://www.vupen.com/english/advisories/2008/1245/references
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/41824
    Added Reference https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Aug. 08, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/41824 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/41824 [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 21, 2008

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.26 }} -0.11%

score

0.49973

percentile