CVE-2024-11236CWE-787

Integer overflow in the firebird and dblib quoters causing OOB writes

Critical · published November 24, 2024

CVSS v3.1
9.8
EPSS
2%
Percentile
81.2
In the wild
Unconfirmed
What it is

🚨 An unchecked input can lead to an integer overflow in PHP's ldap_escape() function on 32-bit systems! 🔥 Think of this as a kitchen where the cook keeps throwing in ingredients without checking the recipe — eventually, the pot overflows and makes a real mess! If the inputs aren't controlled, it can lead to an out-of-bounds write, causing chaos in your application. An attacker could exploit this flaw to overwrite critical memory areas, potentially leading to arbitrary code execution or crashes. This vulnerability is like giving someone a master key to your kitchen, allowing them to tamper with your ingredients and possibly serve up a disastrous dish!

Put simply

Think of this as a kitchen where the cook keeps throwing in ingredients without checking the recipe — eventually, the pot overflows and makes a real mess! If the inputs aren't controlled, it can lead to an out-of-bounds write, causing chaos in your application. In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, and 8.3.* before 8.3.14, the ldap_escape() function does not properly handle long string inputs on 32-bit systems, leading to an integer overflow and out-of-bounds write.

What to do

An attacker could exploit this flaw to overwrite critical memory areas, potentially leading to arbitrary code execution or crashes. This vulnerability is like giving someone a master key to your kitchen, allowing them to tamper with your ingredients and possibly serve up a disastrous dish! Upgrade your PHP version to 8.1.31, 8.2.26, or 8.3.14 at the earliest opportunity. Additionally, review your input handling practices for string lengths to ensure they are properly controlled. Ignoring this can leave your application vulnerable to exploitation. You've got this! With these updates, your application will be safer and more robust in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02065 · 81.2th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2024-11-24T00:44Z
EPSS history
Timeline
  • 24 NOV 00:44Z
    Integer overflow in the firebird and dblib quoters causing OOB writes
    cvelistv5