CVE-2024-54802

In Netgear WNR854T 1.5.2 (North America), the UPNP service (/usr/sbin/upnp) is vulnerable to stack-based buffer overflow in the M-SEARCH Host header

Critical · published March 31, 2025

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

🔥 A single malformed M-SEARCH request is all it takes to exploit this vulnerability! The Netgear WNR854T router's UPNP service has a nasty stack-based buffer overflow hiding in the Host header. 😱 Think of it like a waiter at a restaurant who takes an order but doesn't check the details — if you say 'Triple cheeseburger,' but he just hears 'burger,' he could accidentally serve you a mountain of meat you never asked for. This flaw allows an attacker to overflow the stack with unexpected data! If exploited, an attacker can potentially gain complete control of the router, accessing sensitive information, manipulating network traffic, or even launching attacks on devices connected to your network. It's like handing over the keys to your home network and inviting intruders in for a free-for-all!

Put simply

Think of it like a waiter at a restaurant who takes an order but doesn't check the details — if you say 'Triple cheeseburger,' but he just hears 'burger,' he could accidentally serve you a mountain of meat you never asked for. This flaw allows an attacker to overflow the stack with unexpected data! The issue lies within the UPNP service where an attacker can send a specially crafted M-SEARCH request that triggers a stack-based buffer overflow, leading to arbitrary code execution. This happens because the service does not properly validate the input length, allowing excess data to overwrite memory regions.

What to do

If exploited, an attacker can potentially gain complete control of the router, accessing sensitive information, manipulating network traffic, or even launching attacks on devices connected to your network. It's like handing over the keys to your home network and inviting intruders in for a free-for-all! To secure your device, update the firmware to version 1.5.3 or later immediately. If updates are not available or you cannot update, consider disabling the UPNP service to mitigate this risk. Regularly check for updates to ensure you’re protected against future vulnerabilities! You’ve got this! By taking these steps, you’ll enhance your network’s security 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.00682 · 51.9th percentile
Published
2025-03-31T00:00Z
EPSS history
Timeline
  • 31 MAR 00:00Z
    In Netgear WNR854T 1.5.2 (North America), the UPNP service (/usr/sbin/upnp) is vulnerable to stack-based buffer overflow in the M-SEARCH Host header
    cvelistv5