PT-2015-3431 · Php+4 · Php+4

Yohgaki

·

Published

2015-05-18

·

Updated

2019-04-22

·

CVE-2015-4026

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.4.41 PHP versions 5.5.x prior to 5.5.25 PHP versions 5.6.x prior to 5.6.9
Description The issue is related to the pcntl exec implementation in PHP, which incorrectly handles pathnames containing a x00 character. This might allow remote attackers to bypass security restrictions and execute files with unexpected names by providing a crafted first argument. The problem arises from an incomplete fix for a previous issue.
Recommendations For PHP versions prior to 5.4.41, update to version 5.4.41 or later. For PHP versions 5.5.x prior to 5.5.25, update to version 5.5.25 or later. For PHP versions 5.6.x prior to 5.6.9, update to version 5.6.9 or later.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2022-02534
CESA-2015_1135
CESA-2015_1218
CVE-2015-4026
DLA-307-1
DSA-3280-1
MGASA-2015-0231
RHSA-2015:1135
RHSA-2015:1186
RHSA-2015:1187
RHSA-2015:1218
RHSA-2015:1219
RHSA-2015_1135
RHSA-2015_1218
SUSE-SU-2015:1253-1
SUSE-SU-2015:1253-2
SUSE-SU-2016:1638-1
USN-2658-1

Affected Products

Centos
Php
Red Hat
Suse
Ubuntu