CVE-2018-1304

medium
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html

http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html

http://www.securityfocus.com/bid/103170

http://www.securitytracker.com/id/1040427

https://access.redhat.com/errata/RHSA-2018:0465

https://access.redhat.com/errata/RHSA-2018:0466

https://access.redhat.com/errata/RHSA-2018:1320

https://access.redhat.com/errata/RHSA-2018:1447

https://access.redhat.com/errata/RHSA-2018:1448

https://access.redhat.com/errata/RHSA-2018:1449

https://access.redhat.com/errata/RHSA-2018:1450

https://access.redhat.com/errata/RHSA-2018:1451

https://access.redhat.com/errata/RHSA-2018:2939

https://access.redhat.com/errata/RHSA-2019:2205

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cannounce.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E

https://lists.debian.org/debian-lts-announce/2018/03/msg00004.html

https://lists.debian.org/debian-lts-announce/2018/06/msg00008.html

https://lists.debian.org/debian-lts-announce/2018/07/msg00044.html

https://security.netapp.com/advisory/ntap-20180706-0001/

https://usn.ubuntu.com/3665-1/

https://www.debian.org/security/2018/dsa-4281

https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html

https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html

Details

Source: MITRE

Published: 2018-02-28

Updated: 2019-10-03

Risk Information

CVSS v2

Base Score: 4.3

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

Impact Score: 2.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 5.9

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

Impact Score: 3.6

Exploitability Score: 2.2

Severity: MEDIUM

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from 7.0.0 to 7.0.84 (inclusive)

cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from 8.0.0 to 8.0.49 (inclusive)

cpe:2.3:a:apache:tomcat:8.0.0:rc1:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from 8.5.0 to 8.5.27 (inclusive)

cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from 9.0.0 to 9.0.4 (inclusive)

cpe:2.3:a:apache:tomcat:9.0.0:m1:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m10:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m11:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m12:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m13:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m14:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m15:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m16:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m17:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m18:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m19:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m2:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m20:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m21:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m22:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m23:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m24:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m25:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m26:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m27:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m3:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m4:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m5:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m6:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m7:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m8:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:9.0.0:m9:*:*:*:*:*:*

Configuration 2

AND

OR

cpe:2.3:a:redhat:jboss_enterprise_application_platform:6:*:*:*:*:*:*:*

cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.4:*:*:*:*:*:*:*

cpe:2.3:a:redhat:jboss_enterprise_web_server:3.0.0:*:*:*:*:*:*:*

OR

cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*

Configuration 3

OR

cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*

cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 4

OR

cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

Configuration 5

OR

cpe:2.3:a:oracle:fusion_middleware:12.2.1.3.0:*:*:*:*:*:*:*

cpe:2.3:a:oracle:hospitality_guest_access:4.2.0:*:*:*:*:*:*:*

cpe:2.3:a:oracle:hospitality_guest_access:4.2.1:*:*:*:*:*:*:*

cpe:2.3:a:oracle:micros_relate_crm_software:11.4:*:*:*:*:*:*:*

cpe:2.3:a:oracle:secure_global_desktop:5.3:*:*:*:*:*:*:*

cpe:2.3:a:oracle:secure_global_desktop:5.4:*:*:*:*:*:*:*

Configuration 6

OR

cpe:2.3:a:redhat:jboss_middleware:1:*:*:*:*:*:*:*

Tenable Plugins

View all (33 total)

IDNameProductFamilySeverity
134569Amazon Linux 2 : tomcat (ALAS-2020-1402)NessusAmazon Linux Local Security Checks
critical
132210EulerOS 2.0 SP3 : tomcat (EulerOS-SA-2019-2675)NessusHuawei Local Security Checks
high
131853EulerOS 2.0 SP2 : tomcat (EulerOS-SA-2019-2361)NessusHuawei Local Security Checks
high
129186EulerOS 2.0 SP5 : tomcat (EulerOS-SA-2019-1992)NessusHuawei Local Security Checks
high
128376CentOS 7 : tomcat (CESA-2019:2205)NessusCentOS Local Security Checks
critical
128266Scientific Linux Security Update : tomcat on SL7.x x86_64 (20190806)NessusScientific Linux Local Security Checks
critical
127697RHEL 7 : tomcat (RHSA-2019:2205)NessusRed Hat Local Security Checks
critical
700705Apache Tomcat 9.0.x < 9.0.5 Insecure CGI Servlet Search Algorithm Description WeaknessNessus Network MonitorWeb Servers
medium
700693Apache Tomcat 8.5.x < 8.5.28 Security Constraint WeaknessNessus Network MonitorWeb Servers
medium
700687Apache Tomcat 8.0.x < 8.0.50 Security Constraint WeaknessNessus Network MonitorWeb Servers
medium
700677Apache Tomcat 7.0.x < 7.0.85 Security Constraint WeaknessNessus Network MonitorWeb Servers
medium
112307Apache Tomcat 7.0.0 < 7.0.85 Security Constraint WeaknessWeb Application ScanningComponent Vulnerability
medium
112298Apache Tomcat 8.5.x < 8.5.28 Security Constraint WeaknessWeb Application ScanningComponent Vulnerability
medium
112292Apache Tomcat 9.0.0.M1 < 9.0.5 Security Constraint WeaknessWeb Application ScanningComponent Vulnerability
medium
112185Debian DSA-4281-1 : tomcat8 - security updateNessusDebian Local Security Checks
high
111391Debian DLA-1450-1 : tomcat8 security updateNessusDebian Local Security Checks
medium
111333Oracle Secure Global Desktop Multiple Vulnerabilities (July 2018 CPU)NessusMisc.
critical
110264Ubuntu 14.04 LTS / 16.04 LTS / 17.10 / 18.04 LTS : Tomcat vulnerabilities (USN-3665-1)NessusUbuntu Local Security Checks
critical
109906RHEL 6 : JBoss EAP (RHSA-2018:1449)NessusRed Hat Local Security Checks
critical
109905RHEL 7 : JBoss EAP (RHSA-2018:1448)NessusRed Hat Local Security Checks
critical
109838RHEL 6 : eap6-jboss-ec2-eap (RHSA-2018:1451)NessusRed Hat Local Security Checks
critical
108838Fedora 26 : 1:tomcat (2018-a233dae4ab)NessusFedora Local Security Checks
medium
108837Fedora 27 : 1:tomcat (2018-50f0da5d38)NessusFedora Local Security Checks
medium
108742openSUSE Security Update : tomcat (openSUSE-2018-325)NessusSuSE Local Security Checks
medium
108598Amazon Linux AMI : tomcat80 (ALAS-2018-973)NessusAmazon Linux Local Security Checks
medium
108597Amazon Linux AMI : tomcat7 / tomcat8 (ALAS-2018-972)NessusAmazon Linux Local Security Checks
medium
107208RHEL 6 / 7 : Red Hat JBoss Web Server 3.1.0 Service Pack 2 (RHSA-2018:0466)NessusRed Hat Local Security Checks
high
107151Debian DLA-1301-1 : tomcat7 security updateNessusDebian Local Security Checks
medium
107043FreeBSD : tomcat -- Security constraints ignored or applied too late (55c4233e-1844-11e8-a712-0025908740c2)NessusFreeBSD Local Security Checks
medium
106978Apache Tomcat 9.0.0.M1 < 9.0.5 Insecure CGI Servlet Search Algorithm Description WeaknessNessusWeb Servers
low
106977Apache Tomcat 8.5.x < 8.5.28 Security Constraint WeaknessNessusWeb Servers
low
106976Apache Tomcat 8.0.0.RC1 < 8.0.50 Security Constraint WeaknessNessusWeb Servers
low
106975Apache Tomcat 7.0.0 < 7.0.85 Security Constraint WeaknessNessusWeb Servers
medium