Skip to main content
← All vulnerabilities
CVE-2018-1304GHSA-6RXJ-58JH-436R

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.0.5, 8.5.28, 8.0.51, 7.0.86
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Apache Software Foundation Apache Tomcat

    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, 7.0.0 to 7.0.84

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 9.0.0 · fixed in 9.0.5

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 8.5.0 · fixed in 8.5.28

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 8.0.0 · fixed in 8.0.51

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 7.0.0 · fixed in 7.0.86

References 25

access.redhat.com

security.netapp.com

securityfocus.com

oracle.com

lists.apache.org

debian.org

usn.ubuntu.com

securitytracker.com

lists.debian.org