SB2018022601 - Security restrictions bypass in Apache Tomcat
Published: February 26, 2018
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Security restrictions bypass (CVE-ID: CVE-2018-1305)
CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls
CVSSv4: 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
The vulnerability allows a remote attacker to bypass security restrictions on the target system.
The weakness exists due to security constraints defined by annotations of Servlets are only applied once a Servlet had been loaded. A remote attacker can supply a specially crafted URL pattern and any URLs below that point, bypass security restrictions and gain unauthorised access to arbitrary resources.
2) Security restrictions bypass (CVE-ID: CVE-2018-1304)
CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls
CVSSv4: 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
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.
Remediation
Install update from vendor's website.
References
- https://tomcat.apache.org/security-7.html
- https://tomcat.apache.org/security-9.html
- https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.85
- https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.0.50
- https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.28
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.5