Back

HIGH

php: pcntl_exec() accepts paths with NUL character

Published Jun 9, 2015

Description

The pcntl_exec implementation in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \x00 character, which might allow remote attackers to bypass intended extension restrictions and execute files with unexpected names via a crafted first argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (2)

References (22)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jun 9, 2015
Updated Aug 6, 2024
Reserved May 18, 2015
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date May 14, 2015