8.1highExploited
DD-WRT Stack-Based Buffer Overflow Vulnerability
- Severity
- 8.1high CVSS:3.1 by mitre
- Exploit likelihood
- 15.7% (higher than 96% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| DD-WRT DD-WRT | before 45724 | CVE List, NVD, CISA KEV |
Classification
SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.
What each source says
CVE List
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).
CISA KEV
DD-WRT contains a stack-based buffer overflow vulnerability that could allow an unauthenticated attacker to overflow an internal buffer used by UPnP and trigger a code execution vulnerability.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27137 changed 2026-07-22 | CVE Terms of Use |
| NVD | CVE-2021-27137 changed 2026-07-22 | Public domain |
| CISA KEV | CVE-2021-27137 changed 2026-07-21 | CC0-1.0 |