Vulnerability 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dd-Wrt | Dd-Wrt | < 45724 |
Related Weaknesses (CWE)
References
- https://securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitoExploitThird Party Advisory
- https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ExploitThird Party Advisory
- https://svn.dd-wrt.com/changeset/45724Patch
- https://www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-rExploitThird Party Advisory
- https://www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-Exploit
- https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ExploitThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-US Government Resource
FAQ
What is CVE-2021-27137?
CVE-2021-27137 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 ove...
How severe is CVE-2021-27137?
CVE-2021-27137 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-27137?
Check the references section above for vendor advisories and patch information. Affected products include: Dd-Wrt Dd-Wrt.