Rapid7 Vulnerability & Exploit Database

Apache Tomcat: Important: Security constraints mapped to context root are ignored (CVE-2018-1304)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Apache Tomcat: Important: Security constraints mapped to context root are ignored (CVE-2018-1304)

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:P/I:N/A:N)
Published
02/26/2018
Created
07/25/2018
Added
02/26/2018
Modified
06/08/2021

Description

The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

Solution(s)

  • apache-tomcat-upgrade-7_0_85
  • apache-tomcat-upgrade-8_0_50
  • apache-tomcat-upgrade-8_5_28
  • apache-tomcat-upgrade-9_0_5

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;