cve.bz

CVE-2015-5174 Path traversal

4.3 mediumEPSS 13%Fix available

Medium (4.3). EPSS 13% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 6.0.45, 7.0.65, 8.0.27.

On this page
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.

Severity

CVSS 3.0

4.3 medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
13% (unchanged from 13% a week ago; 13% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-5174 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-5174?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-5174?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-5174 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2015-5174

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2015-5174](https://cve.bz/cve/badge/CVE-2015-5174.svg)](https://cve.bz/cve/CVE-2015-5174)

HTML:

<a href="https://cve.bz/cve/CVE-2015-5174"><img src="https://cve.bz/cve/badge/CVE-2015-5174.svg" alt="CVE-2015-5174"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux7.0
debian:debian_linux8.0
apache:tomcat6.0.0
apache:tomcat6.0.0:alpha
apache:tomcat6.0.1
apache:tomcat6.0.1:alpha
apache:tomcat6.0.2
apache:tomcat6.0.2:alpha
apache:tomcat6.0.2:beta
apache:tomcat6.0.4
apache:tomcat6.0.4:alpha
apache:tomcat6.0.10
apache:tomcat6.0.11
apache:tomcat6.0.13
apache:tomcat6.0.14
apache:tomcat6.0.16
apache:tomcat6.0.18
apache:tomcat6.0.20
apache:tomcat6.0.24
apache:tomcat6.0.26
apache:tomcat6.0.28
apache:tomcat6.0.29
apache:tomcat6.0.30
apache:tomcat6.0.32
apache:tomcat6.0.33
apache:tomcat6.0.35
apache:tomcat6.0.36
apache:tomcat6.0.37
apache:tomcat6.0.39
apache:tomcat6.0.41
apache:tomcat6.0.43
apache:tomcat6.0.44
apache:tomcat7.0.0:beta
apache:tomcat7.0.2:beta
apache:tomcat7.0.4:beta
apache:tomcat7.0.5:beta
apache:tomcat7.0.6
apache:tomcat7.0.10
apache:tomcat7.0.11
apache:tomcat7.0.12
apache:tomcat7.0.14
apache:tomcat7.0.16
apache:tomcat7.0.19
apache:tomcat7.0.20
apache:tomcat7.0.21
apache:tomcat7.0.22
apache:tomcat7.0.23
apache:tomcat7.0.25
apache:tomcat7.0.26
apache:tomcat7.0.27
apache:tomcat7.0.28
apache:tomcat7.0.29
apache:tomcat7.0.30
apache:tomcat7.0.32
apache:tomcat7.0.33
apache:tomcat7.0.34
apache:tomcat7.0.35
apache:tomcat7.0.37
apache:tomcat7.0.39
apache:tomcat7.0.40
apache:tomcat7.0.41
apache:tomcat7.0.42
apache:tomcat7.0.47
apache:tomcat7.0.50
apache:tomcat7.0.52
apache:tomcat7.0.53
apache:tomcat7.0.54
apache:tomcat7.0.55
apache:tomcat7.0.56
apache:tomcat7.0.57
apache:tomcat7.0.59
apache:tomcat7.0.61
apache:tomcat7.0.62
apache:tomcat7.0.63
apache:tomcat7.0.64
apache:tomcat8.0.0:rc1
apache:tomcat8.0.0:rc10
apache:tomcat8.0.0:rc3
apache:tomcat8.0.0:rc5
apache:tomcat8.0.1
apache:tomcat8.0.11
apache:tomcat8.0.12
apache:tomcat8.0.14
apache:tomcat8.0.15
apache:tomcat8.0.17
apache:tomcat8.0.18
apache:tomcat8.0.20
apache:tomcat8.0.21
apache:tomcat8.0.22
apache:tomcat8.0.23
apache:tomcat8.0.24
apache:tomcat8.0.26
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux15.10
canonical:ubuntu_linux16.04

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6qr6-x7jm-x2q6Mavenorg.apache.tomcat:tomcat>=8.0.0-RC1 <8.0.278.0.27
GHSA-6qr6-x7jm-x2q6Mavenorg.apache.tomcat:tomcat>=7.0.0 <7.0.657.0.65
GHSA-6qr6-x7jm-x2q6Mavenorg.apache.tomcat:tomcat>=6.0.0 <6.0.456.0.45

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0tomcat66.0.45-1~deb6u1DLA-435-1
Debian7tomcat66.0.45+dfsg-1~deb7u1DSA-3530-1
Debian7tomcat77.0.28-4+deb7u4DSA-3552-1
Debian8tomcat77.0.56-3+deb8u2DSA-3552-1
Debian8tomcat88.0.14-1+deb8u2DSA-3609-1
Ubuntu14.04:LTStomcat66.0.39-1ubuntu0.1UBUNTU-CVE-2015-5174
Ubuntu14.04:LTStomcat77.0.52-1ubuntu0.6UBUNTU-CVE-2015-5174 USN-3024-1
Ubuntu16.04:LTStomcat77.0.68-1ubuntu0.1USN-3024-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moretomcat6, tomcat6-lib, tomcat6-javadoc and 6 more0:6.0.24-98.el6_8RHSA-2016:2045
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moretomcat, tomcat-lib, tomcat-jsvc and 7 more0:7.0.69-10.el7RHSA-2016:2599
Red Hatjboss_enterprise_application_platform:6::el6apache-cxf0:2.7.18-2.SP1_redhat_1.1.ep6.el6RHSA-2016:1433
Red Hatjboss_enterprise_application_platform:6::el6glassfish-jsf-eap60:2.1.28-11.SP10_redhat_1.1.ep6.el6RHSA-2016:1433
Red Hatjboss_enterprise_application_platform:6::el6hibernate4-validator0:4.3.3-1.Final_redhat_1.1.ep6.el6RHSA-2016:1433
Red Hatjboss_enterprise_application_platform:6::el6hornetq0:2.3.25-13.SP11_redhat_1.1.ep6.el6RHSA-2016:1433
Red Hatjboss_enterprise_application_platform:6::el6jboss-as-ee, jboss-as-cli, jboss-as-cmp and 60 more0:7.5.9-2.Final_redhat_2.1.ep6.el6RHSA-2016:1433
Red Hatjboss_enterprise_application_platform:6::el6jboss-ec2-eap, jboss-ec2-eap-samples0:7.5.9-2.Final_redhat_2.ep6.el6RHSA-2016:1432
Red Hatjboss_enterprise_application_platform:6::el6jboss-jsf-api_2.1_spec0:2.1.28-6.SP2_redhat_1.1.ep6.el6RHSA-2016:1433
Red Hatjboss_enterprise_application_platform:6::el6jboss-msc0:1.1.6-1.Final_redhat_1.1.ep6.el6RHSA-2016:1433
Red Hatjboss_enterprise_application_platform:6::el6jbossts1:4.17.34-1.Final_redhat_1.1.ep6.el6RHSA-2016:1433
Red Hatjboss_enterprise_application_platform:6::el6jbossweb0:7.5.17-1.Final_redhat_1.1.ep6.el6RHSA-2016:1433
32 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4tomcat66.0.45-0.50.1SUSE-SU-2016:0839-1
SUSELinux Enterprise Server 12, Linux Enterprise Server for SAP Applications 12tomcat7.0.68-7.6.1SUSE-SU-2016:0822-1
SUSELinux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1tomcat8.0.32-3.1SUSE-SU-2016:0769-1
openSUSETumbleweedtomcat8.0.36-3.3openSUSE-SU-2024:10446-1
openSUSETumbleweedtomcat1010.1.14-1.1openSUSE-SU-2024:13441-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6tomcat6-0:6.0.24-98.el6_8Fixed 2016-10-10RHSA-2016:2045
Red Hat Enterprise Linux 7tomcat-0:7.0.69-10.el7Fixed 2016-11-03RHSA-2016:2599
Red Hat JBoss Enterprise Application Platform 6.4Fixed 2016-07-18RHSA-2016:1435
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jboss-ec2-eap-0:7.5.9-2.Final_redhat_2.ep6.el6Fixed 2016-07-18RHSA-2016:1432
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6apache-cxf-0:2.7.18-2.SP1_redhat_1.1.ep6.el6Fixed 2016-07-18RHSA-2016:1433
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6glassfish-jsf-eap6-0:2.1.28-11.SP10_redhat_1.1.ep6.el6Fixed 2016-07-18RHSA-2016:1433
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6hibernate4-validator-0:4.3.3-1.Final_redhat_1.1.ep6.el6Fixed 2016-07-18RHSA-2016:1433
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6hornetq-0:2.3.25-13.SP11_redhat_1.1.ep6.el6Fixed 2016-07-18RHSA-2016:1433
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jboss-as-appclient-0:7.5.9-2.Final_redhat_2.1.ep6.el6Fixed 2016-07-18RHSA-2016:1433
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jbossas-appclient-0:7.5.9-2.Final_redhat_2.1.ep6.el6Fixed 2016-07-18RHSA-2016:1433
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jbossas-bundles-0:7.5.9-2.Final_redhat_2.1.ep6.el6Fixed 2016-07-18RHSA-2016:1433
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jboss-as-cli-0:7.5.9-2.Final_redhat_2.1.ep6.el6Fixed 2016-07-18RHSA-2016:1433
Red Hat JBoss BRMS 5jbosswebWill not fix
Red Hat JBoss Data Grid 6jbosswebAffected
Red Hat JBoss Enterprise Application Platform 4jbosswebWill not fix
Red Hat JBoss Enterprise Application Platform 5jbosswebWill not fix
Red Hat JBoss Enterprise Web Server 2tomcat6Will not fix
Red Hat JBoss Fuse Service Works 6jbosswebWill not fix
Red Hat JBoss Operations Network 3jbosswebAffected
Red Hat JBoss Portal 6jbosswebAffected
158 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-5174.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON