Path Traversal in Ruby-Lang Ruby
CVE-2008-1891
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.028 (85.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.028 · newest: 0.028 · change: 0.000
Affected products
- Ruby-Lang Ruby — versions 1.8.5, 1.8.6
Weakness classification (CWE)
References
- secunia.com/advisories/29794 (Vendor Advisory, third-party-advisory)
- lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html (vendor-advisory)
- www.mandriva.com/security/advisories (vendor-advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/41824 (vdb-entry)
- secunia.com/advisories/31687 (third-party-advisory)
- aluigi.altervista.org/adv/webrickcgi-adv.txt
- www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html (vendor-advisory)
- www.mandriva.com/security/advisories (vendor-advisory)
- secunia.com/advisories/30831 (third-party-advisory)
- www.vupen.com/english/advisories/2008/1245/references (vdb-entry)