CVE Vulnerabilities

CVE-2017-5648

Exposure of Resource to Wrong Sphere

Published: Apr 17, 2017 | Modified: Dec 08, 2023
CVSS 3.x
9.1
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS 2.x
6.4 MEDIUM
AV:N/AC:L/Au:N/C:P/I:P/A:N
RedHat/V2
RedHat/V3
3.6 MODERATE
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Ubuntu
MEDIUM

While investigating bug 60718, it was noticed that some calls to application listeners in Apache Tomcat 9.0.0.M1 to 9.0.0.M17, 8.5.0 to 8.5.11, 8.0.0.RC1 to 8.0.41, and 7.0.0 to 7.0.75 did not use the appropriate facade object. When running an untrusted application under a SecurityManager, it was therefore possible for that untrusted application to retain a reference to the request or response object and thereby access and/or modify information associated with another web application.

Weakness

The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

Affected Software

Name Vendor Start Version End Version
Tomcat Apache 7.0.0 (including) 7.0.0 (including)
Tomcat Apache 7.0.1 (including) 7.0.1 (including)
Tomcat Apache 7.0.2 (including) 7.0.2 (including)
Tomcat Apache 7.0.3 (including) 7.0.3 (including)
Tomcat Apache 7.0.4 (including) 7.0.4 (including)
Tomcat Apache 7.0.5 (including) 7.0.5 (including)
Tomcat Apache 7.0.6 (including) 7.0.6 (including)
Tomcat Apache 7.0.7 (including) 7.0.7 (including)
Tomcat Apache 7.0.8 (including) 7.0.8 (including)
Tomcat Apache 7.0.9 (including) 7.0.9 (including)
Tomcat Apache 7.0.10 (including) 7.0.10 (including)
Tomcat Apache 7.0.11 (including) 7.0.11 (including)
Tomcat Apache 7.0.12 (including) 7.0.12 (including)
Tomcat Apache 7.0.13 (including) 7.0.13 (including)
Tomcat Apache 7.0.14 (including) 7.0.14 (including)
Tomcat Apache 7.0.15 (including) 7.0.15 (including)
Tomcat Apache 7.0.16 (including) 7.0.16 (including)
Tomcat Apache 7.0.17 (including) 7.0.17 (including)
Tomcat Apache 7.0.18 (including) 7.0.18 (including)
Tomcat Apache 7.0.19 (including) 7.0.19 (including)
Tomcat Apache 7.0.20 (including) 7.0.20 (including)
Tomcat Apache 7.0.21 (including) 7.0.21 (including)
Tomcat Apache 7.0.22 (including) 7.0.22 (including)
Tomcat Apache 7.0.23 (including) 7.0.23 (including)
Tomcat Apache 7.0.24 (including) 7.0.24 (including)
Tomcat Apache 7.0.25 (including) 7.0.25 (including)
Tomcat Apache 7.0.26 (including) 7.0.26 (including)
Tomcat Apache 7.0.27 (including) 7.0.27 (including)
Tomcat Apache 7.0.28 (including) 7.0.28 (including)
Tomcat Apache 7.0.29 (including) 7.0.29 (including)
Tomcat Apache 7.0.30 (including) 7.0.30 (including)
Tomcat Apache 7.0.31 (including) 7.0.31 (including)
Tomcat Apache 7.0.32 (including) 7.0.32 (including)
Tomcat Apache 7.0.33 (including) 7.0.33 (including)
Tomcat Apache 7.0.34 (including) 7.0.34 (including)
Tomcat Apache 7.0.35 (including) 7.0.35 (including)
Tomcat Apache 7.0.36 (including) 7.0.36 (including)
Tomcat Apache 7.0.37 (including) 7.0.37 (including)
Tomcat Apache 7.0.38 (including) 7.0.38 (including)
Tomcat Apache 7.0.39 (including) 7.0.39 (including)
Tomcat Apache 7.0.40 (including) 7.0.40 (including)
Tomcat Apache 7.0.41 (including) 7.0.41 (including)
Tomcat Apache 7.0.42 (including) 7.0.42 (including)
Tomcat Apache 7.0.43 (including) 7.0.43 (including)
Tomcat Apache 7.0.44 (including) 7.0.44 (including)
Tomcat Apache 7.0.45 (including) 7.0.45 (including)
Tomcat Apache 7.0.46 (including) 7.0.46 (including)
Tomcat Apache 7.0.47 (including) 7.0.47 (including)
Tomcat Apache 7.0.48 (including) 7.0.48 (including)
Tomcat Apache 7.0.49 (including) 7.0.49 (including)
Tomcat Apache 7.0.50 (including) 7.0.50 (including)
Tomcat Apache 7.0.51 (including) 7.0.51 (including)
Tomcat Apache 7.0.52 (including) 7.0.52 (including)
Tomcat Apache 7.0.53 (including) 7.0.53 (including)
Tomcat Apache 7.0.54 (including) 7.0.54 (including)
Tomcat Apache 7.0.55 (including) 7.0.55 (including)
Tomcat Apache 7.0.56 (including) 7.0.56 (including)
Tomcat Apache 7.0.57 (including) 7.0.57 (including)
Tomcat Apache 7.0.58 (including) 7.0.58 (including)
Tomcat Apache 7.0.59 (including) 7.0.59 (including)
Tomcat Apache 7.0.60 (including) 7.0.60 (including)
Tomcat Apache 7.0.61 (including) 7.0.61 (including)
Tomcat Apache 7.0.62 (including) 7.0.62 (including)
Tomcat Apache 7.0.63 (including) 7.0.63 (including)
Tomcat Apache 7.0.64 (including) 7.0.64 (including)
Tomcat Apache 7.0.65 (including) 7.0.65 (including)
Tomcat Apache 7.0.66 (including) 7.0.66 (including)
Tomcat Apache 7.0.67 (including) 7.0.67 (including)
Tomcat Apache 7.0.68 (including) 7.0.68 (including)
Tomcat Apache 7.0.69 (including) 7.0.69 (including)
Tomcat Apache 7.0.70 (including) 7.0.70 (including)
Tomcat Apache 7.0.71 (including) 7.0.71 (including)
Tomcat Apache 7.0.72 (including) 7.0.72 (including)
Tomcat Apache 7.0.73 (including) 7.0.73 (including)
Tomcat Apache 7.0.74 (including) 7.0.74 (including)
Tomcat Apache 7.0.75 (including) 7.0.75 (including)
Red Hat Enterprise Linux 7 RedHat tomcat-0:7.0.69-12.el7_3 *
Red Hat JBoss Web Server 3.1 RedHat *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat log4j-eap6-0:1.2.16-12.redhat_3.1.ep6.el6 *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat tomcat7-0:7.0.70-22.ep7.el6 *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat tomcat8-0:8.0.36-24.ep7.el6 *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat tomcat-native-0:1.2.8-10.redhat_10.ep7.el6 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat log4j-eap6-0:1.2.16-12.redhat_3.1.ep6.el7 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat tomcat7-0:7.0.70-22.ep7.el7 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat tomcat8-0:8.0.36-24.ep7.el7 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat tomcat-native-0:1.2.8-10.redhat_10.ep7.el7 *
Tomcat7 Ubuntu esm-apps/xenial *
Tomcat7 Ubuntu precise *
Tomcat7 Ubuntu trusty *
Tomcat7 Ubuntu upstream *
Tomcat7 Ubuntu xenial *
Tomcat7 Ubuntu yakkety *
Tomcat8 Ubuntu upstream *
Tomcat8 Ubuntu xenial *
Tomcat8 Ubuntu yakkety *
Tomcat8 Ubuntu zesty *

Extended Description

Resources such as files and directories may be inadvertently exposed through mechanisms such as insecure permissions, or when a program accidentally operates on the wrong object. For example, a program may intend that private files can only be provided to a specific user. This effectively defines a control sphere that is intended to prevent attackers from accessing these private files. If the file permissions are insecure, then parties other than the user will be able to access those files. A separate control sphere might effectively require that the user can only access the private files, but not any other files on the system. If the program does not ensure that the user is only requesting private files, then the user might be able to access other files on the system. In either case, the end result is that a resource has been exposed to the wrong party.

References