CVE-2018-1304

Summary

CVECVE-2018-1304
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-02-28 20:29:00 UTC
Updated2026-10-15 18:17:18 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.0 5.9 MEDIUM from [email protected]

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

Problem Types: NVD-CWE-noinfo | Information Disclosure


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary5.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:M/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Tomcat 8.0.0 rc1 All All
Application Apache Tomcat 9.0.0 milestone1 All All
Application Apache Tomcat 9.0.0 milestone10 All All
Application Apache Tomcat 9.0.0 milestone11 All All
Application Apache Tomcat 9.0.0 milestone12 All All
Application Apache Tomcat 9.0.0 milestone13 All All
Application Apache Tomcat 9.0.0 milestone14 All All
Application Apache Tomcat 9.0.0 milestone15 All All
Application Apache Tomcat 9.0.0 milestone16 All All
Application Apache Tomcat 9.0.0 milestone17 All All
Application Apache Tomcat 9.0.0 milestone18 All All
Application Apache Tomcat 9.0.0 milestone19 All All
Application Apache Tomcat 9.0.0 milestone2 All All
Application Apache Tomcat 9.0.0 milestone20 All All
Application Apache Tomcat 9.0.0 milestone21 All All
Application Apache Tomcat 9.0.0 milestone22 All All
Application Apache Tomcat 9.0.0 milestone23 All All
Application Apache Tomcat 9.0.0 milestone24 All All
Application Apache Tomcat 9.0.0 milestone25 All All
Application Apache Tomcat 9.0.0 milestone26 All All
Application Apache Tomcat 9.0.0 milestone27 All All
Application Apache Tomcat 9.0.0 milestone3 All All
Application Apache Tomcat 9.0.0 milestone4 All All
Application Apache Tomcat 9.0.0 milestone5 All All
Application Apache Tomcat 9.0.0 milestone6 All All
Application Apache Tomcat 9.0.0 milestone7 All All
Application Apache Tomcat 9.0.0 milestone8 All All
Application Apache Tomcat 9.0.0 milestone9 All All
Application Apache Tomcat All All All All
Application Apache Tomcat All All All All
Application Apache Tomcat All All All All
Application Apache Tomcat All All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Oracle Fusion Middleware 12.2.1.3.0 All All All
Application Oracle Hospitality Guest Access 4.2.0 All All All
Application Oracle Hospitality Guest Access 4.2.1 All All All
Application Oracle Micros Relate Crm Software 11.4 All All All
Application Oracle Secure Global Desktop 5.3 All All All
Application Oracle Secure Global Desktop 5.4 All All All
Operating System Redhat Enterprise Linux 6.0 All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Application Redhat Jboss Enterprise Application Platform 6 All All All
Application Redhat Jboss Enterprise Application Platform 6.4 All All All
Application Redhat Jboss Enterprise Web Server 3.0.0 All All All
Application Redhat Jboss Middleware 1 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Tomcat affected 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 Not specified

References

ReferenceSourceLinkTags
CPU Oct 2018 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
[SECURITY] [DLA 1400-1] tomcat7 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Oracle Critical Patch Update - July 2019 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
[SECURITY] [DLA 1450-1] tomcat8 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
Apache Mail Archives af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Debian -- Security Information -- DSA-4281-1 tomcat8 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
[SECURITY] [DLA 1301-1] tomcat7 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Issue Tracking, Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update Advisory - April 2020 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update Advisory - April 2019 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
CPU July 2018 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
USN-3665-1: Tomcat vulnerabilities | Ubuntu security notices af854a3a-2127-422b-91ae-364da2661108 usn.ubuntu.com Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
February 2018 Apache Tomcat Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Patch, Third Party Advisory
Apache Tomcat URL Pattern Processing Error Lets Remote Users Bypass Certain Security Constraints on the Target System - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Third Party Advisory, VDB Entry
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Apache Tomcat CVE-2018-1304 Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Apache Mail Archives MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 690607 Free Berkeley Software Distribution (FreeBSD) Security Update for tomcat (55c4233e-1844-11e8-a712-0025908740c2)
  • 981252 Java (maven) Security Update for org.apache.tomcat.embed:tomcat-embed-core (GHSA-6rxj-58jh-436r)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report