Unauthenticated command execution via unsafe FriendlyName copy
Published May 18, 2023 · Updated Jan 22, 2025
Stack buffer overflow in Belkin Wemo Mini Smart Plug V2 2.00.11420.OWRT.PVT_SNSV2 allows remote attackers to execute commands via UPnP. The wemo_ctrl executable passes the attacker-controlled FriendlyName to strcpy() in wemoStateUpdate(), overflowing a 68-byte stack buffer without a canary. An unauthenticated UPnP request can crash and restart the process; repeated attempts can redirect control flow into system() and run shell commands on the plug.
Summary
What happened
Stack buffer overflow in Belkin Wemo Mini Smart Plug V2 2.00.11420.OWRT.PVT_SNSV2 allows remote attackers to execute commands via UPnP. The wemo_ctrl executable passes the attacker-controlled FriendlyName to strcpy() in wemoStateUpdate(), overflowing a 68-byte stack buffer without a canary. An unauthenticated UPnP request can crash and restart the process; repeated attempts can redirect control flow into system() and run shell commands on the plug.
The record
- CVE
- CVE-2023-27217
- Published
- May 18, 2023
- Updated
- Jan 22, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1210, T1059.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 18, 2023CVE publishedPublication date reported by the CVE source.
- Jan 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Sternum FriendlyName command-execution demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo