PT-2015-3174 · Apache+5 · Apache Tomcat+5

Dennis Reed

·

Publicado

2015-10-01

·

Atualizado

2024-06-15

·

CVE-2015-5174

CVSS v3.1

4.3

Média

VetorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Apache Tomcat versions 6.0.0 through 6.0.44 Apache Tomcat versions 7.0.0 through 7.0.64 Apache Tomcat versions 8.0.0 through 8.0.26
Description The issue is related to a directory traversal vulnerability in the RequestUtil.java file. This vulnerability 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. The vulnerability can be exploited by using the "/.." symbols in the path name, which can allow an attacker to obtain a directory listing for the directory in which the web application had been deployed, typically $CATALINA BASE/webapps. This should not be possible when running under a security manager.
Recommendations For Apache Tomcat versions 6.0.0 through 6.0.44, update to version 6.0.45 or later. For Apache Tomcat versions 7.0.0 through 7.0.64, update to version 7.0.65 or later. For Apache Tomcat versions 8.0.0 through 8.0.26, update to version 8.0.27 or later. As a temporary workaround, consider restricting access to the getResource, getResourceAsStream, and getResourcePaths methods to minimize the risk of exploitation.

Correção

Path traversal

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2016-1193
BDU:2016-00541
CESA-2016_2045
CESA-2016_2599
CVE-2015-5174
DLA-435-1
DSA-3530-1
DSA-3552-1
DSA-3609-1
GHSA-6QR6-X7JM-X2Q6
MGASA-2016-0090
OPENSUSE-SU-2016_0865-1
OPENSUSE-SU-2024:10446-1
OPENSUSE-SU-2024:13441-1
RHSA-2015:2659
RHSA-2015:2660
RHSA-2016:1432
RHSA-2016:1433
RHSA-2016:1434
RHSA-2016:2045
RHSA-2016:2599
RHSA-2016_2045
RHSA-2016_2599
SUSE-SU-2016:0769-1
SUSE-SU-2016:0822-1
SUSE-SU-2016:0839-1
SUSE-SU-2016_0769-1
SUSE-SU-2016_0822-1
SUSE-SU-2016_0839-1
USN-3024-1

Produtos afetados

Alt Linux
Apache Tomcat
Centos
Red Hat
Suse
Ubuntu