CVE-2017-9120

PHP 7.x through 7.1.5 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact…

published August 2, 2018

CVSS
—
EPSS
8%
Percentile
94.5
In the wild
Unconfirmed
What it is

⚠️ Oops! A cheeky integer overflow in PHP's mysqli_real_escape_string can lead to a denial of service! Why does this matter? Because a long string could crash your application like a kitchen when the order pile gets too high! Think of it like a busy restaurant that has a limit on how many orders it can take at once. If a customer sends in an overwhelming number of complicated orders, it could cause chaos in the kitchen and lead to a shutdown! An attacker could send a long string, triggering a buffer overflow that crashes the application. This means downtime for your service, which could be absolutely devastating for users relying on your system!

Put simply

Think of it like a busy restaurant that has a limit on how many orders it can take at once. If a customer sends in an overwhelming number of complicated orders, it could cause chaos in the kitchen and lead to a shutdown! This vulnerability allows remote attackers to exploit an integer overflow during string processing in PHP's mysqli_real_escape_string, potentially leading to a buffer overflow and a crash of the application.

What to do

An attacker could send a long string, triggering a buffer overflow that crashes the application. This means downtime for your service, which could be absolutely devastating for users relying on your system! Upgrade your PHP version to at least 7.1.6 to eliminate this vulnerability. Regularly audit your code for safe practices when handling user input to prevent similar issues in the future. You've got this! Stay vigilant and keep your applications safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.07562 · 94.5th percentile
Published
2018-08-02T15:00Z
EPSS history
Timeline
  • 02 AUG 15:00Z
    PHP 7.x through 7.1.5 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact…
    cvelistv5