vendor:
PHP
by:
shinnai
7.5
CVSS
HIGH
Denial of Service
119
CWE
Product Name: PHP
Affected Version From: PHP 5.2.3
Affected Version To: PHP 5.2.3
Patch Exists: NO
Related CWE:
CPE: a:php:php:5.2.3
Platforms Tested: Windows XP SP2, Apache
2007
PHP 5.2.3 glob() Remote DoS Exploit
This exploit targets a vulnerability in the glob() function in PHP 5.2.3. By passing a non-integer value to the 'flags' parameter, an EIP (Extended Instruction Pointer) overwrite can be triggered, causing a Denial of Service. The exploit takes advantage of this to overwrite the EIP with the first 4 bytes of a filename. By saving a file with a specific name and launching it, the EIP can be controlled. This vulnerability was discovered by 'shinnai' with the help of 'Footzo'.
Mitigation:
Upgrade to a version of PHP that is not affected by this vulnerability. In this case, PHP 5.2.4 or later versions are not vulnerable.