CVE-2015-3411

php: missing null byte checks for paths in various PHP extensions

Published May 16, 2016 CVSS 3.0 · 6.5 Medium EPSS 3.3% KEV · Not listed
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 or write to arbitrary files via crafted input to an application that calls (1) a DOMDocument load method, (2) the xmlwriter_open_uri function, (3) the finfo_file function, or (4) the hash_hmac_file function, as demonstrated by a filename\0.xml attack that bypasses an intended configuration in which client users may read only .xml files.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-307-1 php5 security update
EUVD EUVD EUVD-2015-3455 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 or write to arbitrary files via crafted input to an application that calls (1) a DOMDocument load method, (2) the xmlwriter_open_uri function, (3) the finfo_file function, or (4) the hash_hmac_file function, as demonstrated by a filename\0.xml attack that bypasses an intended configuration in which client users may read only .xml files.
Ubuntu USN Ubuntu USN USN-2658-1 PHP vulnerabilities
History

No history.

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-626

    Null Byte Interaction Error (Poison Null Byte)

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 5:47 AM
Reserved
Apr 24, 2015, 12:00 AM
Status
Modified
Published
May 16, 2016, 10:59 AM
Modified
Jun 17, 2026, 12:25 AM
Severity
Moderate
Public date
Apr 16, 2015, 12:00 AM