Vulnerability Details : CVE-2013-0262
rack/file.rb (Rack::File) in Rack 1.5.x before 1.5.2 and 1.4.x before 1.4.5 allows attackers to access arbitrary files outside the intended root directory via a crafted PATH_INFO environment variable, probably a directory traversal vulnerability that is remotely exploitable, aka "symlink path traversals."
Vulnerability category: Directory traversal
Exploit prediction scoring system (EPSS) score for CVE-2013-0262
Probability of exploitation activity in the next 30 days: 0.50%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 73 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2013-0262
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:N/A:N |
8.6
|
2.9
|
NIST |
CWE ids for CVE-2013-0262
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2013-0262
-
https://gist.github.com/rentzsch/4736940
CVE-2013-0262 harness.rb · GitHub
-
https://groups.google.com/forum/#%21msg/rack-devel/mZsuRonD7G8/DpZIOmMLbOgJ
Sign in - Google Accounts
-
https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30
Prevent symlink path traversals · rack/rack@6f237e4 · GitHub
-
https://bugzilla.redhat.com/show_bug.cgi?id=909072
909072 – (CVE-2013-0262) CVE-2013-0262 rubygem-rack: Path sanitization information disclosure
-
https://bugzilla.redhat.com/show_bug.cgi?id=909071
909071 – (CVE-2013-0263) CVE-2013-0263 rubygem-rack: Timing attack in cookie sessions
-
http://rack.github.com/
Rack: a Ruby Webserver Interface
-
https://github.com/rack/rack/blob/master/lib/rack/file.rb#L56
rack/file.rb at master · rack/rack · GitHub
-
https://groups.google.com/forum/#%21msg/rack-devel/bf937jPZxJM/1s6x95vIhmAJ
Sign in - Google Accounts
-
http://lists.opensuse.org/opensuse-updates/2013-03/msg00048.html
openSUSE-SU-2013:0462-1: moderate: RubyOnRails: security version update
Products affected by CVE-2013-0262
- cpe:2.3:a:rack_project:rack:1.4.0:*:*:*:*:*:*:*
- cpe:2.3:a:rack_project:rack:1.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:rack_project:rack:1.4.2:*:*:*:*:*:*:*
- cpe:2.3:a:rack_project:rack:1.4.3:*:*:*:*:*:*:*
- cpe:2.3:a:rack_project:rack:1.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:rack_project:rack:1.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:rack_project:rack:1.4.4:*:*:*:*:*:*:*