medium4.3
CVE-2015-5174
Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
Impact
Directory traversal vulnerability in RequestUtil.java in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.65, and 8.x before 8.0.27 allows remote authenticated users to bypass intended SecurityManager restrictions and list a parent directory via a /.. (slash dot dot) in a pathname used by a web application in a getResource, getResourceAsStream, or getResourcePaths call, as demonstrated by the $CATALINA_BASE/webapps directory.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >= 7.0.0, <= 7.0.64 | 7.0.65 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | Versions 7.0, 8.0 |
| Apache | Tomcat | Versions 6.0.0, 6.0.1, 6.0.2, 6.0.4, 6.0.10, 6.0.11 |
| Canonical | Ubuntu Linux | Versions 12.04, 14.04, 15.10, 16.04 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00082.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html
- http://marc.info/?l=bugtraq&m=145974991225029&w=2
- http://packetstormsecurity.com/files/135883/Apache-Tomcat-Limited-Directory-Traversal.html
- http://rhn.redhat.com/errata/RHSA-2016-1435.html
- http://rhn.redhat.com/errata/RHSA-2016-2045.html
- http://rhn.redhat.com/errata/RHSA-2016-2599.html
- http://seclists.org/bugtraq/2016/Feb/149
- http://svn.apache.org/viewvc?view=revision&revision=1696281
- http://svn.apache.org/viewvc?view=revision&revision=1696284
- http://svn.apache.org/viewvc?view=revision&revision=1700897
- http://svn.apache.org/viewvc?view=revision&revision=1700898
- http://svn.apache.org/viewvc?view=revision&revision=1700900
- http://tomcat.apache.org/security-6.html
- http://tomcat.apache.org/security-7.html
- http://tomcat.apache.org/security-8.html
- http://www.debian.org/security/2016/dsa-3530
- http://www.debian.org/security/2016/dsa-3552
- http://www.debian.org/security/2016/dsa-3609
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- http://www.securityfocus.com/bid/83329
- http://www.securitytracker.com/id/1035070