Security restrictions bypass in Apache Tomcat - CVE-2018-1304

 

Security restrictions bypass in Apache Tomcat - CVE-2018-1304

Published: February 26, 2018 / Updated: July 24, 2018


Vulnerability identifier: #VU10707
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-1304
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Tomcat

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass security restrictions on the target system.

The weakness exists due to the URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled when used as part of a security constraint definition. A remote attacker can supply a specially crafted URL, bypass security restrictions and gain unauthorised access to web application resources.

How to mitigate CVE-2018-1304

Update to version 7.0.85, 8.0.50, 8.5.28, 9.0.5.

Sources