CVE-2021-35395

Realtek Jungle SDK version v2.x up to v3.4.14B provides an HTTP web server exposing a management interface that can be used to configure the access point. Two versions of this management interface exists: one based on Go-Ahead named webs and another based on Boa named boa. Both of them are affected by these vulnerabilities. Specifically, these binaries are vulnerable to the following issues: - stack buffer overflow in formRebootCheck due to unsafe copy of submit-url parameter - stack buffer overflow in formWsc due to unsafe copy of submit-url parameter - stack buffer overflow in formWlanMultipleAP due to unsafe copy of submit-url parameter - stack buffer overflow in formWlSiteSurvey due to unsafe copy of ifname parameter - stack buffer overflow in formStaticDHCP due to unsafe copy of hostname parameter - stack buffer overflow in formWsc due to unsafe copy of 'peerPin' parameter - arbitrary command execution in formSysCmd via the sysCmd parameter - arbitrary command injection in formWsc via the 'peerPin' parameter Exploitability of identified issues will differ based on what the end vendor/manufacturer did with the Realtek SDK webserver. Some vendors use it as-is, others add their own authentication implementation, some kept all the features from the server, some remove some of them, some inserted their own set of features. However, given that Realtek SDK implementation is full of insecure calls and that developers tends to re-use those examples in their custom code, any binary based on Realtek SDK webserver will probably contains its own set of issues on top of the Realtek ones (if kept). Successful exploitation of these issues allows remote attackers to gain arbitrary code execution on the device.
Configurations

Configuration 1 (hide)

cpe:2.3:a:realtek:realtek_jungle_sdk:*:*:*:*:*:*:*:*

History

08 Aug 2023, 14:21

Type Values Removed Values Added
CWE CWE-77
CWE-787
NVD-CWE-Other

26 Aug 2021, 14:27

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 10.0
v3 : 9.8
CPE cpe:2.3:a:realtek:realtek_jungle_sdk:*:*:*:*:*:*:*:*
CWE CWE-77
CWE-787
References (MISC) https://www.realtek.com/en/cu-1-en/cu-1-taiwan-en - (MISC) https://www.realtek.com/en/cu-1-en/cu-1-taiwan-en - Patch, Vendor Advisory
References (MISC) https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdf - (MISC) https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdf - Patch
References (MISC) https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chain - (MISC) https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chain - Exploit, Third Party Advisory

16 Aug 2021, 12:28

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-16 12:15

Updated : 2024-02-04 21:47


NVD link : CVE-2021-35395

Mitre link : CVE-2021-35395

CVE.ORG link : CVE-2021-35395


JSON object : View

Products Affected

realtek

  • realtek_jungle_sdk