CVE Vulnerabilities

CVE-2018-8014

Insecure Default Initialization of Resource

Published: May 16, 2018 | Modified: Dec 08, 2023
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure.

Affected Software

Name Vendor Start Version End Version
Tomcat Apache 7.0.41 (including) 7.0.88 (including)
Tomcat Apache 8.0.0 (including) 8.0.52 (including)
Tomcat Apache 8.5.0 (including) 8.5.31 (including)
Tomcat Apache 9.0.0 (including) 9.0.8 (including)
Tomcat Apache 8.0.0-rc1 (including) 8.0.0-rc1 (including)
Tomcat Apache 9.0.0-milestone1 (including) 9.0.0-milestone1 (including)

Extended Description

Developers often choose default values that leave the product as open and easy to use as possible out-of-the-box, under the assumption that the administrator can (or should) change the default value. However, this ease-of-use comes at a cost when the default is insecure and the administrator does not change it.

References