CVE-2008-1145
medium · 5Directory 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.
5
CVSS
27.8%
EPSS (exploit prob.)
98th
EPSS percentile
2008-03-04
Published
AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-22
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| ruby-lang | webrick | all versions |
| ruby-lang | ruby | >= 1.8.0, < 1.8.5.115 |
| ruby-lang | ruby | >= 1.8.6, < 1.8.6.114 |
| ruby-lang | ruby | 1.9.0 |
| ruby-lang | ruby | 1.9.0.1 |
| fedoraproject | fedora | 7 |
| fedoraproject | fedora | 8 |
Check a specific version with /api/v1/cve/match.
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
- http://www.securitytracker.com/id?1019562
- http://www.vupen.com/english/advisories/2008/0787
- http://www.vupen.com/english/advisories/2008/1981/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41010
- https://issues.rpath.com/browse/RPL-2338
Query this programmatically:
curl https://evil-db.io/api/v1/cve/CVE-2008-1145