Security mailing lists by PureSourceCode

CVE-2018-1304

MEDIUM 5.9CVSS 3.0

Apache Tomcat unauthorized access vulnerability

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.

Published
28 Feb 2018
Last modified
15 Oct 2026
Assigned by
security@apache.org
NVD status
Modified
Also known as
GHSA-6rxj-58jh-436r
Sources
NVDJSONOSV GHSA-6rxj-58jh-436rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
>= 7.0.0, <= 7.0.84
NVD apache tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
>= 8.0.0, <= 8.0.49
NVD apache tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
>= 8.5.0, <= 8.5.27
NVD apache tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
>= 9.0.0, <= 9.0.4
NVD apache tomcat
cpe:2.3:a:apache:tomcat:8.0.0:rc1:*:*:*:*:*:*
= 8.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone18:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone19:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone20:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone21:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone22:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone23:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone24:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone25:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone26:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone27:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:*
= 9.0.0
NVD redhat jboss_enterprise_application_platform
cpe:2.3:a:redhat:jboss_enterprise_application_platform:6:*:*:*:*:*:*:*
= 6
NVD redhat jboss_enterprise_application_platform
cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.4:*:*:*:*:*:*:*
= 6.4
NVD redhat jboss_enterprise_web_server
cpe:2.3:a:redhat:jboss_enterprise_web_server:3.0.0:*:*:*:*:*:*:*
= 3.0.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
= 17.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD oracle fusion_middleware
cpe:2.3:a:oracle:fusion_middleware:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD oracle hospitality_guest_access
cpe:2.3:a:oracle:hospitality_guest_access:4.2.0:*:*:*:*:*:*:*
= 4.2.0
NVD oracle hospitality_guest_access
cpe:2.3:a:oracle:hospitality_guest_access:4.2.1:*:*:*:*:*:*:*
= 4.2.1
NVD oracle micros_relate_crm_software
cpe:2.3:a:oracle:micros_relate_crm_software:11.4:*:*:*:*:*:*:*
= 11.4
NVD oracle secure_global_desktop
cpe:2.3:a:oracle:secure_global_desktop:5.3:*:*:*:*:*:*:*
= 5.3
NVD oracle secure_global_desktop
cpe:2.3:a:oracle:secure_global_desktop:5.4:*:*:*:*:*:*:*
= 5.4
NVD redhat jboss_middleware
cpe:2.3:a:redhat:jboss_middleware:1:*:*:*:*:*:*:*
= 1
OSV Maven org.apache.tomcat.embed:tomcat-embed-core >= 9.0.0, < 9.0.5 9.0.5
OSV Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.5.0, < 8.5.28 8.5.28
OSV Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.0.0, < 8.0.51 8.0.51
OSV Maven org.apache.tomcat.embed:tomcat-embed-core >= 7.0.0, < 7.0.86 7.0.86

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 28 Feb 2018)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Oct 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.