Input validation error in PHP - CVE-2007-4528

 

Input validation error in PHP - CVE-2007-4528

Published: September 29, 2017 / Updated: June 11, 2025


Vulnerability identifier: #VU110381
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-4528
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to corrupt data.

The Foreign Function Interface (ffi) extension in PHP 5.0.5 does not follow safe_mode restrictions, which allows context-dependent attackers to execute arbitrary code by loading an arbitrary DLL and calling a function, as demonstrated by kernel32.dll and the WinExec function. NOTE: this issue does not cross privilege boundaries in most contexts, so perhaps it should not be included in CVE.


Affected software

PHP

How to mitigate CVE-2007-4528

Install update from vendor's website.

PHP - update to 5.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins