CVE-2015-4643

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…

published May 16, 2016

CVSS
—
EPSS
16%
Percentile
96.9
In the wild
Unconfirmed
What it is

⚠️ Just one long LIST command from an FTP server is all it takes! This integer overflow in PHP can lead to a heap-based buffer overflow, unleashing chaos. 🚨 Think of it like a restaurant accepting a massive order that overwhelms the kitchen — they can't handle it, and dish after dish goes out wrong! With this vulnerability, an attacker could potentially execute arbitrary code on your server, leading to complete control over your system. That's like handing over the keys to your restaurant while a rogue chef prepares the 'special dish' — and you really don’t want to taste that!

Put simply

Think of it like a restaurant accepting a massive order that overwhelms the kitchen — they can't handle it, and dish after dish goes out wrong! This vulnerability arises from an integer overflow in the `ftp_genlist` function due to an incomplete fix from a previous issue. It allows remote FTP servers to send excessively long replies that can trigger a heap-based buffer overflow in PHP versions prior to 5.4.42, 5.5.26, and 5.6.10.

What to do

With this vulnerability, an attacker could potentially execute arbitrary code on your server, leading to complete control over your system. That's like handing over the keys to your restaurant while a rogue chef prepares the 'special dish' — and you really don’t want to taste that! To secure your systems, update PHP to the latest version available: 5.4.42 or higher, 5.5.26 or higher, or 5.6.10 or higher. Don’t forget to review your FTP configurations to minimize exposure! You've got this! A quick update will keep your server safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.16316 · 96.9th percentile
Published
2016-05-16T10:00Z
EPSS history
Timeline
  • 16 MAY 10:00Z
    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…
    cvelistv5