← back
CVE-2021-27137highunder attackCWE-121

CVE-2021-27137

56Vexday Risk Score

Prioritize patching. It under exploitation confirmed by CISA.

ssvc Actcvss 8.1epss 16%
from disclosure to weapon
Published on NVDJul 16
CISA KEV+5d
exploitation probability
16%top 3% of all CVEs
observed exploitation
yesCISA + VulnCheck
Action required by CISAfederal deadline: 2026-07-24

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.

In short

A flaw in DD-WRT's UPnP service allows an attacker on the local network to crash the router or potentially run malicious code by sending a specially crafted network request, but only if UPnP is enabled.

Technical detail

An unsafe strcpy in ssdp.c's ssdp_msearch function, reachable via M-SEARCH UPnP discovery requests, enables stack buffer overflow on an internal fixed buffer. Attack vector is network (local/LAN), requires UPnP enabled (disabled by default), and can lead to denial of service or code execution.

Summary generated and translated by AI from the official 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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
DD-WRT · DD-WRT