1. CVE archive
  2. 2015
  3. CVE-2015-3412

CVE-2015-3412

5.3 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 5.3 – Medium

Description

PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read arbitrary files via crafted input to an application that calls the stream_resolve_include_path function in ext/standard/streamsfuncs.c, as demonstrated by a filename\0.extension attack that bypasses an intended configuration in which client users may read files with only one specific extension.

Affected products

VendorProductVersionPlatform
php php <= 5.4.39 –
php php 5.5.0 –
php php 5.5.1 –
php php 5.5.2 –
php php 5.5.3 –
php php 5.5.4 –
php php 5.5.5 –
php php 5.5.6 –
php php 5.5.7 –
php php 5.5.8 –
php php 5.5.9 –
php php 5.5.10 –
php php 5.5.11 –
php php 5.5.12 –
php php 5.5.13 –
php php 5.5.14 –
php php 5.5.15 –
php php 5.5.16 –
php php 5.5.17 –
php php 5.5.18 –
php php 5.5.19 –
php php 5.5.20 –
php php 5.5.21 –
php php 5.5.22 –
php php 5.5.23 –
php php 5.6.0 –
php php 5.6.1 –
php php 5.6.2 –
php php 5.6.3 –
php php 5.6.4 –
php php 5.6.5 –
php php 5.6.6 –
php php 5.6.7 –
redhat enterprise linux 6.0 –
redhat enterprise linux 7.0 –
redhat enterprise linux desktop 7.0 –
redhat enterprise linux hpc node 7.0 –
redhat enterprise linux hpc node eus 7.1 –
redhat enterprise linux server 7.0 –
redhat enterprise linux server eus 7.1 –
redhat enterprise linux workstation 7.0 –
All 757 Php vulnerabilities

Vulnerability type

CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

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

Impact on systems

ScopeImpact
Confidentiality Read Application Data

How to prevent it

Architecture and Design · Separation of Privilege 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.

All 11,931 CWE-200 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org