vendor:
PHP
by:
0x1byte
7,5
CVSS
HIGH
Integer Overflow
190
CWE
Product Name: PHP
Affected Version From: PHP 5.3.6
Affected Version To: PHP 5.3.6
Patch Exists: YES
Related CWE: N/A
CPE: a:php:php:5.3.6
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2011
PHP Phar Extension Heap Overflow
An integer overflow vulnerability leading to a heap overflow in the file ..php-5.3.6extphartar.c. If entry.filename_len(which attacker can control) equal 0xffffffff, pemalloc() will allocate zero length buffer. Then php_stream_read() get as a length parameter 0xffffffff value. Because php_stream_read () checks that the passed length does not exceed the amount of data available, the buffer overflow sizes are available from the data stream.
Mitigation:
Upgrade to the latest version of PHP and Phar extension