CVE-2024-45414

The HTTPD binary in multiple ZTE routers has a stack-based buffer overflow vulnerability in webPrivateDecrypt function

Critical · published September 16, 2024

CVSS v3.1
9.8
EPSS
0%
Percentile
40.8
In the wild
Unconfirmed
What it is

🔥 A surprising stack-based buffer overflow in ZTE routers invites trouble — all an attacker needs is to exploit the webPrivateDecrypt function! Think of this like delivering a sensitive package without checking the size of the box. When the contents are too big for the space they occupy, they can spill over into other areas, causing chaos in the process. An unauthenticated attacker can achieve root-level remote code execution (RCE), potentially leading to full control over the router. This means they could intercept your internet traffic, change settings, or even launch attacks on other devices connected to the network. The consequences are absolutely devastating!

Put simply

Think of this like delivering a sensitive package without checking the size of the box. When the contents are too big for the space they occupy, they can spill over into other areas, causing chaos in the process. This vulnerability arises from the webPrivateDecrypt function in the HTTPD binary of ZTE routers, which fails to check the length of the decoded ciphertext before storing it on the stack. This oversight allows attackers to overflow the buffer and execute arbitrary code with root privileges.

What to do

An unauthenticated attacker can achieve root-level remote code execution (RCE), potentially leading to full control over the router. This means they could intercept your internet traffic, change settings, or even launch attacks on other devices connected to the network. The consequences are absolutely devastating! Immediately update affected ZTE routers to the latest firmware version, which addresses this critical flaw. Ensure that proper length checks are implemented in the webPrivateDecrypt function to guard against similar vulnerabilities in the future. Regularly audit your network devices for security compliance! You've got this! Follow these steps and you'll have your network secured 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.00483 · 40.8th percentile
Published
2024-09-16T00:00Z
EPSS history
Timeline
  • 16 SEP 00:00Z
    The HTTPD binary in multiple ZTE routers has a stack-based buffer overflow vulnerability in webPrivateDecrypt function
    cvelistv5