CVE Vulnerabilities

CVE-2017-5648

Exposure of Resource to Wrong Sphere

Published: Apr 17, 2017 | Modified: Apr 20, 2025
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
TomcatApache7.0.0 (including)7.0.0 (including)
TomcatApache7.0.1 (including)7.0.1 (including)
TomcatApache7.0.2 (including)7.0.2 (including)
TomcatApache7.0.3 (including)7.0.3 (including)
TomcatApache7.0.4 (including)7.0.4 (including)
TomcatApache7.0.5 (including)7.0.5 (including)
TomcatApache7.0.6 (including)7.0.6 (including)
TomcatApache7.0.7 (including)7.0.7 (including)
TomcatApache7.0.8 (including)7.0.8 (including)
TomcatApache7.0.9 (including)7.0.9 (including)
TomcatApache7.0.10 (including)7.0.10 (including)
TomcatApache7.0.11 (including)7.0.11 (including)
TomcatApache7.0.12 (including)7.0.12 (including)
TomcatApache7.0.13 (including)7.0.13 (including)
TomcatApache7.0.14 (including)7.0.14 (including)
TomcatApache7.0.15 (including)7.0.15 (including)
TomcatApache7.0.16 (including)7.0.16 (including)
TomcatApache7.0.17 (including)7.0.17 (including)
TomcatApache7.0.18 (including)7.0.18 (including)
TomcatApache7.0.19 (including)7.0.19 (including)
TomcatApache7.0.20 (including)7.0.20 (including)
TomcatApache7.0.21 (including)7.0.21 (including)
TomcatApache7.0.22 (including)7.0.22 (including)
TomcatApache7.0.23 (including)7.0.23 (including)
TomcatApache7.0.24 (including)7.0.24 (including)
TomcatApache7.0.25 (including)7.0.25 (including)
TomcatApache7.0.26 (including)7.0.26 (including)
TomcatApache7.0.27 (including)7.0.27 (including)
TomcatApache7.0.28 (including)7.0.28 (including)
TomcatApache7.0.29 (including)7.0.29 (including)
TomcatApache7.0.30 (including)7.0.30 (including)
TomcatApache7.0.31 (including)7.0.31 (including)
TomcatApache7.0.32 (including)7.0.32 (including)
TomcatApache7.0.33 (including)7.0.33 (including)
TomcatApache7.0.34 (including)7.0.34 (including)
TomcatApache7.0.35 (including)7.0.35 (including)
TomcatApache7.0.36 (including)7.0.36 (including)
TomcatApache7.0.37 (including)7.0.37 (including)
TomcatApache7.0.38 (including)7.0.38 (including)
TomcatApache7.0.39 (including)7.0.39 (including)
TomcatApache7.0.40 (including)7.0.40 (including)
TomcatApache7.0.41 (including)7.0.41 (including)
TomcatApache7.0.42 (including)7.0.42 (including)
TomcatApache7.0.43 (including)7.0.43 (including)
TomcatApache7.0.44 (including)7.0.44 (including)
TomcatApache7.0.45 (including)7.0.45 (including)
TomcatApache7.0.46 (including)7.0.46 (including)
TomcatApache7.0.47 (including)7.0.47 (including)
TomcatApache7.0.48 (including)7.0.48 (including)
TomcatApache7.0.49 (including)7.0.49 (including)
TomcatApache7.0.50 (including)7.0.50 (including)
TomcatApache7.0.51 (including)7.0.51 (including)
TomcatApache7.0.52 (including)7.0.52 (including)
TomcatApache7.0.53 (including)7.0.53 (including)
TomcatApache7.0.54 (including)7.0.54 (including)
TomcatApache7.0.55 (including)7.0.55 (including)
TomcatApache7.0.56 (including)7.0.56 (including)
TomcatApache7.0.57 (including)7.0.57 (including)
TomcatApache7.0.58 (including)7.0.58 (including)
TomcatApache7.0.59 (including)7.0.59 (including)
TomcatApache7.0.60 (including)7.0.60 (including)
TomcatApache7.0.61 (including)7.0.61 (including)
TomcatApache7.0.62 (including)7.0.62 (including)
TomcatApache7.0.63 (including)7.0.63 (including)
TomcatApache7.0.64 (including)7.0.64 (including)
TomcatApache7.0.65 (including)7.0.65 (including)
TomcatApache7.0.66 (including)7.0.66 (including)
TomcatApache7.0.67 (including)7.0.67 (including)
TomcatApache7.0.68 (including)7.0.68 (including)
TomcatApache7.0.69 (including)7.0.69 (including)
TomcatApache7.0.70 (including)7.0.70 (including)
TomcatApache7.0.71 (including)7.0.71 (including)
TomcatApache7.0.72 (including)7.0.72 (including)
TomcatApache7.0.73 (including)7.0.73 (including)
TomcatApache7.0.74 (including)7.0.74 (including)
TomcatApache7.0.75 (including)7.0.75 (including)
Red Hat Enterprise Linux 7RedHattomcat-0:7.0.69-12.el7_3*
Red Hat JBoss Web Server 3.1RedHat*
Red Hat JBoss Web Server 3 for RHEL 6RedHatlog4j-eap6-0:1.2.16-12.redhat_3.1.ep6.el6*
Red Hat JBoss Web Server 3 for RHEL 6RedHattomcat7-0:7.0.70-22.ep7.el6*
Red Hat JBoss Web Server 3 for RHEL 6RedHattomcat8-0:8.0.36-24.ep7.el6*
Red Hat JBoss Web Server 3 for RHEL 6RedHattomcat-native-0:1.2.8-10.redhat_10.ep7.el6*
Red Hat JBoss Web Server 3 for RHEL 7RedHatlog4j-eap6-0:1.2.16-12.redhat_3.1.ep6.el7*
Red Hat JBoss Web Server 3 for RHEL 7RedHattomcat7-0:7.0.70-22.ep7.el7*
Red Hat JBoss Web Server 3 for RHEL 7RedHattomcat8-0:8.0.36-24.ep7.el7*
Red Hat JBoss Web Server 3 for RHEL 7RedHattomcat-native-0:1.2.8-10.redhat_10.ep7.el7*
Tomcat7Ubuntuesm-apps/xenial*
Tomcat7Ubuntuesm-infra-legacy/trusty*
Tomcat7Ubuntuprecise*
Tomcat7Ubuntutrusty*
Tomcat7Ubuntutrusty/esm*
Tomcat7Ubuntuupstream*
Tomcat7Ubuntuxenial*
Tomcat7Ubuntuyakkety*
Tomcat8Ubuntuesm-infra/xenial*
Tomcat8Ubuntuupstream*
Tomcat8Ubuntuxenial*
Tomcat8Ubuntuyakkety*
Tomcat8Ubuntuzesty*

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