CVE-2018-1304

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.

Severity
MEDIUM
CVSS v3
5.9
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
17.070%
chance of exploitation in the next 30 days
higher than 97.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impactpartial
Scored2026-10-15

Timeline

  1. 2018-02-28Published by the CNA20:00 UTC
  2. 2018-10-17GitHub advisory published (GHSA-6rxj-58jh-436r)231 days after publication
  3. 2026-10-15CISA SSVC decision recorded3151 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-6rxj-58jh-436r, affected packages:

PackageVulnerable versionsFixed in
Maven org.apache.tomcat.embed:tomcat-embed-corefrom 7.0.0 before 7.0.867.0.86
Maven org.apache.tomcat.embed:tomcat-embed-corefrom 8.0.0 before 8.0.518.0.51
Maven org.apache.tomcat.embed:tomcat-embed-corefrom 8.5.0 before 8.5.288.5.28
Maven org.apache.tomcat.embed:tomcat-embed-corefrom 9.0.0 before 9.0.59.0.5

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
apache tomcatfrom 7.0.0 through 7.0.84no fix listed8.0.0no fix listedfrom 8.0.0 through 8.0.49no fix listedfrom 8.5.0 through 8.5.27no fix listed9.0.0no fix listed(+1 more)not listednot listednot listednot listednot listed
canonical ubuntu_linux14.04no fix listed16.04no fix listed17.10no fix listed18.04no fix listednot listednot listednot listednot listed
debian debian_linux7.0no fix listed8.0no fix listed9.0no fix listednot listednot listednot listed
oracle fusion_middleware12.2.1.3.0no fix listednot listed
oracle hospitality_guest_access4.2.0no fix listed4.2.1no fix listednot listednot listed
oracle micros_relate_crm_software11.4no fix listednot listed
oracle secure_global_desktop5.3no fix listed5.4no fix listednot listednot listed
redhat jboss_enterprise_application_platform6no fix listed6.4no fix listednot listednot listed
redhat jboss_enterprise_web_server3.0.0no fix listednot listed
redhat jboss_middleware1no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

40 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources