Advisory Published
CVE Published
Advisory Published
Updated

CVE-2018-1304

First published: Fri Feb 23 2018(Updated: )

Apache Tomcat versions 7.0.0 to 7.0.84, 8.0.0.RC1 to 8.0.49 and 8.5.0 to 8.5.27 does not properly handle the URL empty string ("") when used as part of a security constraint definition. This can lead to the security constraint being ignored, leading to unitended exposure of resources. External References: <a href="https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.85">https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.85</a> <a href="https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.0.50">https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.0.50</a> <a href="https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.28">https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.28</a> Upstream Bug Report: <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62067">https://bz.apache.org/bugzilla/show_bug.cgi?id=62067</a> Upstream Fixes: Tomcat 7.0.x: <a href="http://svn.apache.org/viewvc?view=rev&amp;rev=1823309">http://svn.apache.org/viewvc?view=rev&amp;rev=1823309</a> Tomcat 8.0.x: <a href="http://svn.apache.org/viewvc?view=rev&amp;rev=1814827">http://svn.apache.org/viewvc?view=rev&amp;rev=1814827</a> Tomcat 8.5.x: <a href="http://svn.apache.org/viewvc?view=rev&amp;rev=1823307">http://svn.apache.org/viewvc?view=rev&amp;rev=1823307</a>

Credit: security@apache.org security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
redhat/tomcat<7.0.85
7.0.85
redhat/tomcat<8.0.50
8.0.50
redhat/tomcat<8.5.28
8.5.28
maven/org.apache.tomcat.embed:tomcat-embed-core>=7.0.0<7.0.86
7.0.86
maven/org.apache.tomcat.embed:tomcat-embed-core>=8.0.0<8.0.51
8.0.51
maven/org.apache.tomcat.embed:tomcat-embed-core>=8.5.0<8.5.28
8.5.28
maven/org.apache.tomcat.embed:tomcat-embed-core>=9.0.0<=9.0.4
9.0.5
debian/tomcat9
9.0.43-2~deb11u10
9.0.43-2~deb11u11
9.0.70-2
9.0.95-1
Tomcat>=7.0.0<=7.0.84
Tomcat>=8.0.0<=8.0.49
Tomcat>=8.5.0<=8.5.27
Tomcat>=9.0.0<=9.0.4
Tomcat=8.0.0-rc1
Tomcat=9.0.0-milestone1
Tomcat=9.0.0-milestone10
Tomcat=9.0.0-milestone11
Tomcat=9.0.0-milestone12
Tomcat=9.0.0-milestone13
Tomcat=9.0.0-milestone14
Tomcat=9.0.0-milestone15
Tomcat=9.0.0-milestone16
Tomcat=9.0.0-milestone17
Tomcat=9.0.0-milestone18
Tomcat=9.0.0-milestone19
Tomcat=9.0.0-milestone2
Tomcat=9.0.0-milestone20
Tomcat=9.0.0-milestone21
Tomcat=9.0.0-milestone22
Tomcat=9.0.0-milestone23
Tomcat=9.0.0-milestone24
Tomcat=9.0.0-milestone25
Tomcat=9.0.0-milestone26
Tomcat=9.0.0-milestone27
Tomcat=9.0.0-milestone3
Tomcat=9.0.0-milestone4
Tomcat=9.0.0-milestone5
Tomcat=9.0.0-milestone6
Tomcat=9.0.0-milestone7
Tomcat=9.0.0-milestone8
Tomcat=9.0.0-milestone9
All of
Any of
JBoss Enterprise Application Platform=6
JBoss Enterprise Application Platform=6.4
Red Hat JBoss Enterprise Web Server=3.0.0
Any of
Red Hat Enterprise Linux=6.0
Red Hat Enterprise Linux=7.0
Debian Linux=7.0
Debian Linux=8.0
Debian Linux=9.0
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=17.10
Ubuntu=18.04
Oracle Fusion Middleware=12.2.1.3.0
Oracle Hospitality Guest Access=4.2.0
Oracle Hospitality Guest Access=4.2.1
Oracle Micros Relate Customer Relationship Management Software=11.4
Tarantella Secure Global Desktop=5.3
Tarantella Secure Global Desktop=5.4
Red Hat JBoss Middleware=1
Tomcat=9.0.0-m1
Tomcat=9.0.0-m10
Tomcat=9.0.0-m11
Tomcat=9.0.0-m12
Tomcat=9.0.0-m13
Tomcat=9.0.0-m14
Tomcat=9.0.0-m15
Tomcat=9.0.0-m16
Tomcat=9.0.0-m17
Tomcat=9.0.0-m18
Tomcat=9.0.0-m19
Tomcat=9.0.0-m2
Tomcat=9.0.0-m20
Tomcat=9.0.0-m21
Tomcat=9.0.0-m22
Tomcat=9.0.0-m23
Tomcat=9.0.0-m24
Tomcat=9.0.0-m25
Tomcat=9.0.0-m26
Tomcat=9.0.0-m27
Tomcat=9.0.0-m3
Tomcat=9.0.0-m4
Tomcat=9.0.0-m5
Tomcat=9.0.0-m6
Tomcat=9.0.0-m7
Tomcat=9.0.0-m8
Tomcat=9.0.0-m9
JBoss Enterprise Application Platform=6
JBoss Enterprise Application Platform=6.4
Red Hat JBoss Enterprise Web Server=3.0.0
Red Hat Enterprise Linux=6.0
Red Hat Enterprise Linux=7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2018-1304?

    CVE-2018-1304 is classified as a medium severity vulnerability due to the potential exposure of sensitive resources.

  • How do I fix CVE-2018-1304?

    To fix CVE-2018-1304, upgrade Apache Tomcat to versions 7.0.85, 8.0.50, or 8.5.28 and later.

  • What are the affected versions in CVE-2018-1304?

    CVE-2018-1304 affects Apache Tomcat versions from 7.0.0 to 7.0.84, 8.0.0.RC1 to 8.0.49, and 8.5.0 to 8.5.27.

  • What type of attack is possible with CVE-2018-1304?

    CVE-2018-1304 could allow an attacker to bypass security constraints, leading to unintended resource exposure.

  • Is CVE-2018-1304 exploitable without authentication?

    Yes, CVE-2018-1304 can be exploited without authentication, allowing unauthorized access to sensitive resources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203