CVE-2008-1145 EXPLOIT
5.0
MEDIUM · CVSS 2.0 · EPSS 27.8% (pctl 98)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 5.0 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| EPSS | 27.78% — more likely to be exploited than 98% of all CVEs |
| Weakness | CWE-22 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2008-03-04 |
| Last modified | 2026-06-16 |
Affected (3)
| Vendor | Product |
|---|---|
| fedoraproject | fedora |
| ruby-lang | ruby |
| ruby-lang | webrick |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Ruby 1.8.6/1.9 (WEBick HTTPd 1.3.1) - Directory Traversal | 2008-03-06 |
References
- http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
- http://secunia.com/advisories/29232
- http://secunia.com/advisories/29357
- http://secunia.com/advisories/29536
- http://secunia.com/advisories/30802
- http://secunia.com/advisories/31687
- http://secunia.com/advisories/32371
- http://support.apple.com/kb/HT2163
- http://wiki.rpath.com/Advisories:rPSA-2008-0123
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123
- http://www.kb.cert.org/vuls/id/404515
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:141
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:142
- http://www.redhat.com/support/errata/RHSA-2008-0897.html
- http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/
- http://www.securityfocus.com/archive/1/489205/100/0/threaded
- http://www.securityfocus.com/archive/1/489218/100/0/threaded
- http://www.securityfocus.com/archive/1/490056/100/0/threaded
- http://www.securityfocus.com/bid/28123
→ the Explorer · watch your stack · NVD