Realtek Jungle SDK version v2.x up to v3.4.14B provides a 'WiFi Simple Config' server that implements both UPnP and SSDP protocols. The binary is usually named wscd or mini_upnpd and is the successor to miniigd. The server is vulnerable to a stack buffer overflow vulnerability that is present due to unsafe parsing of the UPnP SUBSCRIBE/UNSUBSCRIBE Callback header. Successful exploitation of this vulnerability allows remote unauthenticated attackers to gain arbitrary code execution on the affected device.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://www.realtek.com/en/cu-1-en/cu-1-taiwan-en | vendor advisory broken link patch |
https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdf | vendor advisory patch |
https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chain | broken link third party advisory exploit |