CVE-2021-27137: DD-WRT Stack-Based Buffer Overflow Vulnerability
In CISA’s Known Exploited Vulnerabilities catalog: DD-WRT Stack-Based Buffer Overflow Vulnerability.
Added , federal remediation due . Known ransomware use: Unknown.
Required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Description
An issue was discovered in router/upnp/src/ssdp.c in DD-WRT before 45724. An unsafe strcpy in the UPnP handling functionality allows an unauthenticated remote attacker to send a request that would overflow an internal fixed buffer. Exploitation requires the DD-WRT user to enable UPnP (which is off by default, and only listens on internal interfaces by default). This occurs in ssdp_msearch (reachable by an M-SEARCH request).
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · CWE-121
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
DD-WRT: DD-WRT
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitor-killing-capabil… (opens in new tab)
- ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ (opens in new tab)
- svn.dd-wrt.com/changeset/45724 (opens in new tab)
- www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-router-flaw-kills-rival… (opens in new tab)
- www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-of-new-gafgyt-… (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)