Vulnerabilities > CVE-2007-4528 - Remote Security vulnerability in PHP 5.0.5

047910
CVSS 4.3 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
PARTIAL
Availability impact
NONE
network
php
nessus
exploit available

Summary

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.

Vulnerable Configurations

Part Description Count
Application
Php
1

Exploit-Db

descriptionPHP FFI Extension 5.0.5 Local Safe_mode Bypass Exploit. CVE-2007-4528. Local exploit for windows platform
fileexploits/windows/local/4311.php
idEDB-ID:4311
last seen2016-01-31
modified2007-08-23
platformwindows
port
published2007-08-23
reporterNetJackal
sourcehttps://www.exploit-db.com/download/4311/
titlePHP FFI Extension 5.0.5 - Local Safe_mode Bypass Exploit
typelocal

Nessus

NASL familyCGI abuses
NASL idPHP_FFI_SECURITY_BYPASS.NASL
descriptionAccording to its banner, the version of PHP installed on the remote host is affected by a security bypass vulnerability. The Foreign Function Interface (ffi) extension does not follow safe_mode restrictions, which allows context-dependent attackers to execute arbitrary code by loading an arbitrary DLL and calling a function.
last seen2020-05-03
modified2011-11-18
plugin id17714
published2011-11-18
reporterThis script is Copyright (C) 2011-2020 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/17714
titlePHP Foreign Function Interface Arbitrary DLL Loading safe_mode Restriction Bypass