Stack Buffer Overflow in DD-WRT UPnP via SSDP M-SEARCH
CVE-2021-27137 is a stack-based buffer overflow in the UPnP service of vulnerable DD-WRT router firmware. Based on the provided context, the flaw is triggered when the SSDP parser mishandles oversized ST:uuid: values in crafted M-SEARCH requests sent to UDP port 1900. A remote attacker can send malicious SSDP discovery traffic to the exposed UPnP service and corrupt stack memory, which has been observed in the wild as an initial access vector for the C0XMO/Gafgyt botnet. The vulnerability affects vulnerable DD-WRT firmware versions with the UPnP service enabled and reachable.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A stack buffer overflow vulnerability in DD-WRT router firmware that can be triggered via malicious SSDP M-SEARCH requests to UDP port 1900, and is being used by the C0XMO Gafgyt botnet variant for propagation.
A stack buffer overflow in the UPnP service of vulnerable DD-WRT router firmware versions, triggered by oversized ST:uuid: values in crafted SSDP M-SEARCH requests over UDP/1900, allowing remote attackers to gain control of affected systems.
A stack buffer overflow in the UPnP service of vulnerable DD-WRT router firmware, triggered by oversized ST:uuid: values in crafted SSDP M-SEARCH requests, allowing remote attackers to gain control of affected systems.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.