Quantum Secular Labs / Blog / Advisories
CVE-2018-8014: Apache Tomcat: Initialization of a Resource with an Insecure Default
CVE-2018-8014 is rated critical with a CVSS v3.0 base score of 9.8 and affects Apache Tomcat, along with 7 other products in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
The defaults settings for the CORS filter provided in Apache Tomcat 9.0.0.M1 to 9.0.8, 8.5.0 to 8.5.31, 8.0.0.RC1 to 8.0.52, 7.0.41 to 7.0.88 are insecure and enable 'supportsCredentials' for all origins. It is expected that users of the CORS filter will have configured it appropriately for their environment rather than using it in the default configuration. Therefore, it is expected that most users will not be impacted by this issue.
Severity breakdown
CVSS v3.0 9.8: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-1188: Initialization of a Resource with an Insecure Default
The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.
Affected products
- Apache Tomcat: from 7.0.41 up to and including 7.0.88; from 8.0.0 up to and including 8.0.52; from 8.5.0 up to and including 8.5.31; from 9.0.0 up to and including 9.0.8; 8.0.0 rc1; 9.0.0 milestone1
- Canonical Ubuntu Linux: 14.04; 16.04; 17.10; 18.04
- Debian Linux: 8.0
- Netapp Oncommand Insight: all versions listed by NVD
- Netapp Oncommand Unified Manager: from 9.4; from 7.3
- Netapp Oncommand Workflow Automation: all versions listed by NVD
- Netapp Snapcenter Server: all versions listed by NVD
- Netapp Storage Automation Store: all versions listed by NVD
References
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://security.netapp.com/advisory/ntap-20181018-0002/
- http://tomcat.apache.org/security-7.html
- http://tomcat.apache.org/security-8.html
- http://tomcat.apache.org/security-9.html
- http://www.securityfocus.com/bid/104203
- http://www.securitytracker.com/id/1040998
- http://www.securitytracker.com/id/1041888
- https://access.redhat.com/errata/RHSA-2018:2469
- https://access.redhat.com/errata/RHSA-2018:2470
- https://access.redhat.com/errata/RHSA-2018:3768
- https://access.redhat.com/errata/RHSA-2019:0450
- https://access.redhat.com/errata/RHSA-2019:0451
- https://lists.debian.org/debian-lts-announce/2018/06/msg00008.html