CVE Vulnerabilities

CVE-2012-1171

Exposure of Sensitive Information to an Unauthorized Actor

Published: Feb 15, 2014 | Modified: Feb 18, 2014
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
5 MODERATE
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V3
Ubuntu
LOW

The libxml RSHUTDOWN function in PHP 5.x allows remote attackers to bypass the open_basedir protection mechanism and read arbitrary files via vectors involving a stream_close method call during use of a custom stream wrapper.

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
Php Php 5.0.0 (including) 5.0.0 (including)
Php Php 5.0.0-beta1 (including) 5.0.0-beta1 (including)
Php Php 5.0.0-beta2 (including) 5.0.0-beta2 (including)
Php Php 5.0.0-beta3 (including) 5.0.0-beta3 (including)
Php Php 5.0.0-beta4 (including) 5.0.0-beta4 (including)
Php Php 5.0.0-rc1 (including) 5.0.0-rc1 (including)
Php Php 5.0.0-rc2 (including) 5.0.0-rc2 (including)
Php Php 5.0.0-rc3 (including) 5.0.0-rc3 (including)
Php Php 5.0.1 (including) 5.0.1 (including)
Php Php 5.0.2 (including) 5.0.2 (including)
Php Php 5.0.3 (including) 5.0.3 (including)
Php Php 5.0.4 (including) 5.0.4 (including)
Php Php 5.0.5 (including) 5.0.5 (including)
Php Php 5.1.0 (including) 5.1.0 (including)
Php Php 5.1.1 (including) 5.1.1 (including)
Php Php 5.1.2 (including) 5.1.2 (including)
Php Php 5.1.3 (including) 5.1.3 (including)
Php Php 5.1.4 (including) 5.1.4 (including)
Php Php 5.1.5 (including) 5.1.5 (including)
Php Php 5.1.6 (including) 5.1.6 (including)
Php Php 5.2.0 (including) 5.2.0 (including)
Php Php 5.2.1 (including) 5.2.1 (including)
Php Php 5.2.2 (including) 5.2.2 (including)
Php Php 5.2.3 (including) 5.2.3 (including)
Php Php 5.2.4 (including) 5.2.4 (including)
Php Php 5.2.5 (including) 5.2.5 (including)
Php Php 5.2.6 (including) 5.2.6 (including)
Php Php 5.2.7 (including) 5.2.7 (including)
Php Php 5.2.8 (including) 5.2.8 (including)
Php Php 5.2.9 (including) 5.2.9 (including)
Php Php 5.2.10 (including) 5.2.10 (including)
Php Php 5.2.11 (including) 5.2.11 (including)
Php Php 5.2.12 (including) 5.2.12 (including)
Php Php 5.2.13 (including) 5.2.13 (including)
Php Php 5.2.14 (including) 5.2.14 (including)
Php Php 5.2.15 (including) 5.2.15 (including)
Php Php 5.2.16 (including) 5.2.16 (including)
Php Php 5.2.17 (including) 5.2.17 (including)
Php Php 5.3.0 (including) 5.3.0 (including)
Php Php 5.3.1 (including) 5.3.1 (including)
Php Php 5.3.2 (including) 5.3.2 (including)
Php Php 5.3.3 (including) 5.3.3 (including)
Php Php 5.3.4 (including) 5.3.4 (including)
Php Php 5.3.5 (including) 5.3.5 (including)
Php Php 5.3.6 (including) 5.3.6 (including)
Php Php 5.3.7 (including) 5.3.7 (including)
Php Php 5.3.8 (including) 5.3.8 (including)
Php Php 5.3.9 (including) 5.3.9 (including)
Php Php 5.3.10 (including) 5.3.10 (including)
Php Php 5.3.11 (including) 5.3.11 (including)
Php Php 5.3.12 (including) 5.3.12 (including)
Php Php 5.3.13 (including) 5.3.13 (including)
Php Php 5.3.14 (including) 5.3.14 (including)
Php Php 5.3.15 (including) 5.3.15 (including)
Php Php 5.3.16 (including) 5.3.16 (including)
Php Php 5.3.17 (including) 5.3.17 (including)
Php Php 5.3.18 (including) 5.3.18 (including)
Php Php 5.3.19 (including) 5.3.19 (including)
Php Php 5.3.20 (including) 5.3.20 (including)
Php Php 5.3.21 (including) 5.3.21 (including)
Php Php 5.3.22 (including) 5.3.22 (including)
Php Php 5.3.23 (including) 5.3.23 (including)
Php Php 5.3.24 (including) 5.3.24 (including)
Php Php 5.3.25 (including) 5.3.25 (including)
Php Php 5.3.26 (including) 5.3.26 (including)
Php Php 5.3.27 (including) 5.3.27 (including)
Php Php 5.4.0 (including) 5.4.0 (including)
Php Php 5.4.1 (including) 5.4.1 (including)
Php Php 5.4.2 (including) 5.4.2 (including)
Php Php 5.4.3 (including) 5.4.3 (including)
Php Php 5.4.4 (including) 5.4.4 (including)
Php Php 5.4.5 (including) 5.4.5 (including)
Php Php 5.4.6 (including) 5.4.6 (including)
Php Php 5.4.7 (including) 5.4.7 (including)
Php Php 5.4.8 (including) 5.4.8 (including)
Php Php 5.4.9 (including) 5.4.9 (including)
Php Php 5.4.10 (including) 5.4.10 (including)
Php Php 5.4.11 (including) 5.4.11 (including)
Php Php 5.4.12 (including) 5.4.12 (including)
Php Php 5.4.12-rc1 (including) 5.4.12-rc1 (including)
Php Php 5.4.12-rc2 (including) 5.4.12-rc2 (including)
Php Php 5.4.13 (including) 5.4.13 (including)
Php Php 5.4.13-rc1 (including) 5.4.13-rc1 (including)
Php Php 5.4.14 (including) 5.4.14 (including)
Php Php 5.4.14-rc1 (including) 5.4.14-rc1 (including)
Php Php 5.4.15-rc1 (including) 5.4.15-rc1 (including)
Php Php 5.4.16-rc1 (including) 5.4.16-rc1 (including)
Php Php 5.4.17 (including) 5.4.17 (including)
Php Php 5.4.18 (including) 5.4.18 (including)
Php Php 5.4.19 (including) 5.4.19 (including)
Php Php 5.4.20 (including) 5.4.20 (including)
Php Php 5.4.21 (including) 5.4.21 (including)
Php Php 5.4.22 (including) 5.4.22 (including)
Php Php 5.4.23 (including) 5.4.23 (including)
Php Php 5.5.0-alpha1 (including) 5.5.0-alpha1 (including)
Php Php 5.5.0-alpha2 (including) 5.5.0-alpha2 (including)
Php Php 5.5.0-alpha3 (including) 5.5.0-alpha3 (including)
Php Php 5.5.0-alpha4 (including) 5.5.0-alpha4 (including)
Php Php 5.5.0-alpha5 (including) 5.5.0-alpha5 (including)
Php Php 5.5.0-alpha6 (including) 5.5.0-alpha6 (including)
Php Php 5.5.0-beta1 (including) 5.5.0-beta1 (including)
Php Php 5.5.0-beta2 (including) 5.5.0-beta2 (including)
Php Php 5.5.0-beta3 (including) 5.5.0-beta3 (including)
Php Php 5.5.0-beta4 (including) 5.5.0-beta4 (including)
Php Php 5.5.0-rc1 (including) 5.5.0-rc1 (including)
Php Php 5.5.0-rc2 (including) 5.5.0-rc2 (including)
Php Php 5.5.1 (including) 5.5.1 (including)
Php Php 5.5.2 (including) 5.5.2 (including)
Php Php 5.5.3 (including) 5.5.3 (including)
Php Php 5.5.4 (including) 5.5.4 (including)
Php Php 5.5.5 (including) 5.5.5 (including)
Php Php 5.5.6 (including) 5.5.6 (including)
Php5 Ubuntu devel *
Php5 Ubuntu hardy *
Php5 Ubuntu lucid *
Php5 Ubuntu natty *
Php5 Ubuntu oneiric *

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