CVE-2015-4643
Vulnerability Summary
Timeline
Description
Integer overflow in the ftp_genlist function in ext/ftp/ftp.c in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 allows remote FTP servers to execute arbitrary code via a long reply to a LIST command, leading to a heap-based buffer overflow. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-4022.
CVSS Metrics
- v3.0•CRITICAL•Score: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 8.66%• Percentile: 93%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- debian•debian_linux
7.0 | 8.0
- oracle•linux
6 | 7:0
- Unknown•PHP
< 5.4.42 | ≥ 5.5.0, < 5.5.26 | ≥ 5.6.0, < 5.6.10
- redhat•enterprise_linux_desktop
6.0 | 7.0
- redhat•enterprise_linux_server
6.0 | 7.0
- redhat•enterprise_linux_server_aus
6.6 | 7.3 | 7.4 | 7.6
- redhat•enterprise_linux_server_eus
6.6 | 7.1 | 7.2 | 7.3 | 7.4 | 7.5 | 7.6
- redhat•enterprise_linux_server_tus
6.6 | 7.3 | 7.6
- redhat•enterprise_linux_workstation
6.0 | 7.0
References (13)
- http://rhn.redhat.com/errata/RHSA-2015-1187.html
- https://bugs.php.net/bug.php?id=69545
- http://www.securitytracker.com/id/1032709
- http://rhn.redhat.com/errata/RHSA-2015-1186.html
- http://www.debian.org/security/2015/dsa-3344
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://openwall.com/lists/oss-security/2015/06/18/6
- http://php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/75291
- http://rhn.redhat.com/errata/RHSA-2015-1135.html
- https://security.gentoo.org/glsa/201606-10
- http://rhn.redhat.com/errata/RHSA-2015-1218.html
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0765623d6991b62ffcd93ddb6be8a5203a2fa7e2