DD-WRT UPnP stack buffer overflow in SSDP handling
CVE-2021-27137Known exploitedHigh
DD-WRT contains a stack-based buffer overflow in its UPnP SSDP handler that an unauthenticated attacker can trigger by sending an M-SEARCH request. An attacker who can reach the internal network where UPnP is enabled can overflow a fixed buffer and potentially execute arbitrary code. The vulnerability requires UPnP to be explicitly enabled on the router, which is disabled by default.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 21 Jul
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
DD-WRT. CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. 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.
Weakness: CWE-121 (opens in a new tab)
Affected versions
- dd-wrt dd-wrt: before 45724