CVE-2008-1145Webrick Path Traversal
ruby: webrick directory traversal
Published Mar 3, 2008 · Updated Aug 7, 2024
Key Facts
Routine patching- CVE-2008-1145 is a medium-severity vulnerability (CVSS 5.0 v2) affecting Webrick (Ruby-Lang), Fedora (Fedoraproject), ruby3.3-webrick (chainguard) and 11 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 28% probability of exploitation in the next 30 days.
- Fixed versions are available, including ruby 0:1.8.1-7.el4_7.1, ruby 0:1.8.5-5.el5_2.5, ruby 1.8.5-5.el5_2.5.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Scores
CVSS v2
5.0
AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS (30-day exploit likelihood)
28%
Higher than 98.0% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
36/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisorySUSE-SR:2008:017
- advisoryRHSA-2008:0897
- advisory29232
- advisory29357
- advisoryruby-webrick-directory-traversal(41010)
- advisoryhttp://support.apple.com/kb/HT2163
Description
Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on systems that support backslash (\) path separators or case-insensitive file names, allows remote attackers to access arbitrary files via (1) "..%5c" (encoded backslash) sequences or (2) filenames that match patterns in the :NondisclosureName option.
Affected Products
21 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| WebrickRuby-Lang | See advisory | n/a |
| FedoraFedoraproject | 7, 8 | n/a |
| ruby3.3-webrickchainguard | See advisory | 1.9.1-r0 |
| ruby3.4-webrickchainguard | See advisory | 1.9.1-r3 |
| ruby4.0-webrickchainguard | See advisory | 1.9.2-r0 |
Patched Releases
ruby
0:1.8.1-7.el4_7.1, 0:1.8.5-5.el5_2.5, 1.8.5-5.el5_2.5
ruby-devel
1.8.5-5.el5_2.5
ruby-docs
1.8.5-5.el5_2.5
ruby-irb
1.8.5-5.el5_2.5
ruby-libs
1.8.5-5.el5_2.5
ruby-mode
1.8.5-5.el5_2.5
ruby-rdoc
1.8.5-5.el5_2.5
ruby-ri
1.8.5-5.el5_2.5
ruby-tcltk
1.8.5-5.el5_2.5
ruby3.3-webrick
1.9.1-r0
ruby3.4-webrick
1.9.1-r0, 1.9.1-r3
ruby4.0-webrick
1.9.2-r0
Timeline
Publicly disclosed
Mar 3, 2008
Last updated
Aug 7, 2024
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- advisorySUSE-SR:2008:017
- advisoryRHSA-2008:0897
- advisory29232
- advisory29357
- advisoryruby-webrick-directory-traversal(41010)
FAQ
Common Questions.
Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on systems that support backslash (\) path separators or case-insensitive file names, allows remote attackers to access arbitrary files via (1) "..%5c" (encoded backslash) sequences or (2) f…
Affected: Webrick (Ruby-Lang); Fedora (Fedoraproject) versions 7, 8; ruby3.3-webrick (chainguard), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including ruby 0:1.8.1-7.el4_7.1, ruby 0:1.8.5-5.el5_2.5, ruby 1.8.5-5.el5_2.5.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2008-1145 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo