CVE-2018-1304: The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in A
55
This week
MEDIUM 5.9REMOTEWATCHLISTUPGRADEDOWNGRADEDOWNGRADE
CVE-2018-1304 is a medium-severity flaw (CVSS 5.9) affecting tomcat, jboss enterprise application platform, jboss enterprise web server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-1304?
tomcat: upgrade to newer than 9.0.4; jboss enterprise application platform: downgrade or apply the listed mitigation; jboss enterprise web server: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-1304 being exploited?
CVE-2018-1304 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-1304 affect?
CVE-2018-1304 affects tomcat, jboss enterprise application platform, jboss enterprise web server. Severity is medium (CVSS 5.9). 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 constrain
How urgent is CVE-2018-1304?
Priority 55/100. EPSS top 3%: very likely to be exploited; Remotely exploitable, no login, no user action; On your watchlist