CVE•Published 2018-02-28•Modified 2026-10-15•1 article on news•4 live references•NVD data
CVE-2018-1304Apache · Tomcat
Vulnerability data via NVD (ingested)
CVSS v3.1
5.9
MEDIUM
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS percentile
97
Exploit Prediction Scoring System · top 3% of all CVEs
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.
Timeline
Published 2018-02-28
Modified 2026-10-15
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
Shodan · vuln tag0 hosts
vuln:CVE-2018-1304Hosts Shodan has explicitly fingerprinted as vulnerable.
Shodan · product
product:"Apache Tomcat"All exposed Apache Tomcat instances — cross-reference with the CVE's affected-version range.
Shodan · banner/body mention
http.html:"Tomcat"HTTP body or banner mentions "Tomcat" — catches deploys Shodan didn't identify as a product.
More intel sources (5)
Shodan report
vuln:CVE-2018-1304Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2018-1304Censys host search filtered to this CVE id.
grep.app
CVE-2018-1304Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2018-1304GitHub code search for direct mentions.
Google dork
"CVE-2018-1304" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.