Skip to content
Noroxi
CVE-2018-1304· NVD / CVE Program· CNA apache

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

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.

MediumCVSS 5.9 · v3.0—Proof of concept Fix available
Published
Feb 28, 2018
Updated
Jun 16, 2026
EPSS
17.1% · 97th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
5 / 30 · 17.1%

Affected systems

VendorProduct
apachetomcat
redhatjboss enterprise application platform
redhatjboss enterprise web server
redhatenterprise linux
debiandebian linux
canonicalubuntu linux
oraclefusion middleware
oraclehospitality guest access
oraclemicros relate crm software
oraclesecure global desktop
redhatjboss middleware

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache tomcat7.0.0 and later · up to 7.0.84 inclusive
  • apache tomcat8.0.0 and later · up to 8.0.49 inclusive
  • apache tomcat8.5.0 and later · up to 8.5.27 inclusive
  • apache tomcat9.0.0 and later · up to 9.0.4 inclusive
  • apache tomcat8.0.0
  • apache tomcat9.0.0
  • canonical ubuntu linux14.04
  • canonical ubuntu linux16.04
  • canonical ubuntu linux17.10
  • canonical ubuntu linux18.04
  • debian debian linux7.0
  • debian debian linux8.0
  • debian debian linux9.0
  • oracle fusion middleware12.2.1.3.0
  • oracle hospitality guest access4.2.0
  • oracle hospitality guest access4.2.1
  • oracle micros relate crm software11.4
  • oracle secure global desktop5.3
  • oracle secure global desktop5.4
  • redhat jboss enterprise application platform6

Versions reported by the vendor

Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.

  • 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.84affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:7tomcat7before 7.0.28-4+deb7u187.0.28-4+deb7u18
Debian:8tomcat7before 7.0.56-3+really7.0.88-17.0.56-3+really7.0.88-1
Debian:8tomcat8before 8.0.14-1+deb8u128.0.14-1+deb8u12
Debian:9tomcat8before 8.5.14-1+deb9u38.5.14-1+deb9u3
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 7.0.0 · before 7.0.867.0.86
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 8.0.0 · before 8.0.518.0.51
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 8.5.0 · before 8.5.288.5.28
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 9.0.0 · before 9.0.59.0.5
Red Hat:enterprise_linux:7::clienttomcatbefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-admin-webappsbefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-docs-webappbefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-el-2.2-apibefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-javadocbefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-jsp-2.2-apibefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-jsvcbefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-libbefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-servlet-3.0-apibefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:enterprise_linux:7::clienttomcat-webappsbefore 0:7.0.76-9.el70:7.0.76-9.el7
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jacksonbefore 0:1.9.9-12.redhat_6.1.ep6.el50:1.9.9-12.redhat_6.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jackson-core-aslbefore 0:1.9.9-12.redhat_6.1.ep6.el50:1.9.9-12.redhat_6.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jackson-jaxrsbefore 0:1.9.9-12.redhat_6.1.ep6.el50:1.9.9-12.redhat_6.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jackson-mapper-aslbefore 0:1.9.9-12.redhat_6.1.ep6.el50:1.9.9-12.redhat_6.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jackson-xcbefore 0:1.9.9-12.redhat_6.1.ep6.el50:1.9.9-12.redhat_6.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5hornetqbefore 0:2.3.25-26.SP24_redhat_1.1.ep6.el50:2.3.25-26.SP24_redhat_1.1.ep6.el5

+96

Other highest-scoring records for the same primary product.

  • CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTKEV
    99Now
  • CVE-2016-8735Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x beforeKEV
    96Now
  • CVE-2017-12617When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g.KEV
    92Now
  • CVE-2017-12615When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g.KEV
    92Now
  • CVE-2026-34486Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptorKEV
    62This week
  • CVE-2019-0232When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0
    62This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:tomcat77.0.28-4+deb7u18 · Debian:7Package registry (OSV)
debian:tomcat88.0.14-1+deb8u12 · Debian:8Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core7.0.86Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core8.0.51Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core8.5.28Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core9.0.5Package registry (OSV)
red hat:mod_cluster0:1.3.8-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:mod_cluster-tomcat70:1.3.8-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:mod_cluster-tomcat80:1.3.8-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat-native0:1.2.8-11.redhat_11.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat-native-debuginfo0:1.2.8-11.redhat_11.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat-vault0:1.1.6-1.Final_redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat-vault-tomcat70:1.1.6-1.Final_redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat-vault-tomcat80:1.1.6-1.Final_redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat70:7.0.70-25.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat7-admin-webapps0:7.0.70-25.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat7-docs-webapp0:7.0.70-25.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:tomcat7-el-2.2-api0:7.0.70-25.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
suse:tomcat8.0.50-29.8.2 · SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2Package registry (OSV)
suse:tomcat66.0.53-0.57.7.1 · SUSE:Linux Enterprise Server 11 SP4Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:32018-02-24
Proof-of-concept repository on GitHubstars:02018-03-08

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-5 d
  2. Published
  3. TodaySep 30, 2026+3136 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

Weakness class (CWE)

—

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records