CVE Vulnerabilities

CVE-2017-12616

Exposure of Sensitive Information to an Unauthorized Actor

Published: Sep 19, 2017 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Ubuntu
MEDIUM

When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request.

Weakness

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Affected Software

Name Vendor Start Version End Version
Tomcat Apache 7.0.0 (including) 7.0.0 (including)
Tomcat Apache 7.0.0-beta (including) 7.0.0-beta (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.2-beta (including) 7.0.2-beta (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.4-beta (including) 7.0.4-beta (including)
Tomcat Apache 7.0.5 (including) 7.0.5 (including)
Tomcat Apache 7.0.5-beta (including) 7.0.5-beta (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.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)
Tomcat Apache 7.0.76 (including) 7.0.76 (including)
Tomcat Apache 7.0.77 (including) 7.0.77 (including)
Tomcat Apache 7.0.79 (including) 7.0.79 (including)
Tomcat Apache 7.0.80 (including) 7.0.80 (including)
Red Hat JBoss Web Server 3.1 RedHat *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el6 *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat tomcat7-0:7.0.70-25.ep7.el6 *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat tomcat8-0:8.0.36-29.ep7.el6 *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat tomcat-native-0:1.2.8-11.redhat_11.ep7.el6 *
Red Hat JBoss Web Server 3 for RHEL 6 RedHat tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el6 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el7 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat tomcat7-0:7.0.70-25.ep7.el7 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat tomcat8-0:8.0.36-29.ep7.el7 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat tomcat-native-0:1.2.8-11.redhat_11.ep7.el7 *
Red Hat JBoss Web Server 3 for RHEL 7 RedHat tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el7 *
Tomcat7 Ubuntu artful *
Tomcat7 Ubuntu bionic *
Tomcat7 Ubuntu cosmic *
Tomcat7 Ubuntu esm-apps/bionic *
Tomcat7 Ubuntu esm-apps/xenial *
Tomcat7 Ubuntu trusty *
Tomcat7 Ubuntu upstream *
Tomcat7 Ubuntu xenial *
Tomcat7 Ubuntu zesty *
Tomcat8 Ubuntu upstream *
Tomcat8 Ubuntu zesty *

Extended Description

There are many different kinds of mistakes that introduce information exposures. The severity of the error can range widely, depending on the context in which the product operates, the type of sensitive information that is revealed, and the benefits it may provide to an attacker. Some kinds of sensitive information include:

Information might be sensitive to different parties, each of which may have their own expectations for whether the information should be protected. These parties include:

Information exposures can occur in different ways:

It is common practice to describe any loss of confidentiality as an “information exposure,” but this can lead to overuse of CWE-200 in CWE mapping. From the CWE perspective, loss of confidentiality is a technical impact that can arise from dozens of different weaknesses, such as insecure file permissions or out-of-bounds read. CWE-200 and its lower-level descendants are intended to cover the mistakes that occur in behaviors that explicitly manage, store, transfer, or cleanse sensitive information.

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References