PHP 'ftp_genlist()' Function Incomplete Fix Integer Overflow Vulnerability
BID:75291
Info
PHP 'ftp_genlist()' Function Incomplete Fix Integer Overflow Vulnerability
| Bugtraq ID: | 75291 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2015-4643 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 18 2015 12:00AM |
| Updated: | Jul 05 2016 09:28PM |
| Credit: | Tomas Hoger |
| Vulnerable: |
Ubuntu Ubuntu Linux 12.04 LTS i386 Ubuntu Ubuntu Linux 12.04 LTS amd64 Slackware Linux x86_64 -current Slackware Linux -current PHP PHP 5.4.3 PHP PHP 5.4.2 PHP PHP 5.4.1 PHP PHP 5.3.13 PHP PHP 5.3.12 PHP PHP 5.3.9 PHP PHP 5.3.8 PHP PHP 5.3.7 PHP PHP 5.3.6 PHP PHP 5.3.5 PHP PHP 5.3.2 PHP PHP 5.3.1 PHP PHP 5.3 PHP PHP 5.3.4 RC1 PHP PHP 5.3.4 PHP PHP 5.3.3 PHP PHP 5.3.11 PHP PHP 5.3.10 Debian Linux 6.0 sparc Debian Linux 6.0 s/390 Debian Linux 6.0 powerpc Debian Linux 6.0 mips Debian Linux 6.0 ia-64 Debian Linux 6.0 ia-32 Debian Linux 6.0 arm Debian Linux 6.0 amd64 |
| Not Vulnerable: | |
Discussion
PHP 'ftp_genlist()' Function Incomplete Fix Integer Overflow Vulnerability
PHP is prone to an integer-overflow vulnerability because it fails to adequately bounds-check user-supplied data before copying it into an insufficiently sized buffer.
Attackers can exploit this issue to execute arbitrary code in the context of the affected application. Failed exploit attempts will result in denial-of-service conditions.
Note: This issue is the result of an incomplete fix for the issue described in 74902(PHP 'ftp_genlist()' Function Integer Overflow Vulnerability).
PHP is prone to an integer-overflow vulnerability because it fails to adequately bounds-check user-supplied data before copying it into an insufficiently sized buffer.
Attackers can exploit this issue to execute arbitrary code in the context of the affected application. Failed exploit attempts will result in denial-of-service conditions.
Note: This issue is the result of an incomplete fix for the issue described in 74902(PHP 'ftp_genlist()' Function Integer Overflow Vulnerability).
Exploit / POC
PHP 'ftp_genlist()' Function Incomplete Fix Integer Overflow Vulnerability
Currently, we are not aware of any working exploits. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Currently, we are not aware of any working exploits. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution / Fix
PHP 'ftp_genlist()' Function Incomplete Fix Integer Overflow Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Slackware Linux x86_64 -current
Slackware Linux 14.0 x86_64
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Slackware Linux x86_64 -current
-
Slackware php-5.6.11-x86_64-1.txz
ftp://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/ n/php-5.6.11-x86_64-1.txz
Slackware Linux 14.0 x86_64
-
Slackware php-5.4.43-x86_64-1_slack14.0.txz
ftp://ftp.slackware.com/pub/slackware/slackware64-14.0/patches/package s/php-5.4.43-x86_64-1_slack14.0.txz
References
PHP 'ftp_genlist()' Function Incomplete Fix Integer Overflow Vulnerability
References:
References:
- index 53560eb..50d8def 100644 (git.php)
- Integer overflow in ftp_genlist() resulting in heap overflow (PHP)
- PHP 5 ChangeLog (PHP)
- PHP Homepage (PHP)
- Oracle Linux Bulletin - January 2016 (Oracle)
- PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request (Seclists.org)
- Sec Bug #69545 Integer overflow in ftp_genlist() resulting in heap overflow (bugs.php)
- Security Advisory - AlienVault v5.2 addresses 55 vulnerabilities (AlienVault)
- Security Bulletin: Multiple vulnerabilities in php affect IBM Flex System Manger (IBM)