vendor:
N/A
by:
hoagie
7,5
CVSS
HIGH
Local Buffer Overflow
119
CWE
Product Name: N/A
Affected Version From: 4.4.3
Affected Version To: 5.1.4
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Web Browser
2006
hoagie_php_sscanf.php
This exploit is for PHP versions 4.4.3 and 5.1.4. It is a local buffer overflow exploit that can be used to gain access to a system. The exploit works by setting the $base_addr to 0x41414141 and then restarting the Apache service. The exploit is then executed via a web browser and the Apache error log is checked for a segmentation fault. GDB is then used to find the offsets of the buffer and shell code. Finally, the $base_addr is changed in the exploit and the exploit is executed again.
Mitigation:
The best way to mitigate this vulnerability is to upgrade to a version of PHP that is not affected by this exploit.