CVE-2021-35395: Realtek AP-Router SDK Buffer Overflow Vulnerability

Published Aug 16, 2021
·
Updated

Realtek AP-Router SDK HTTP web server boa contains a buffer overflow vulnerability due to unsafe copies of some overly long parameters submitted in the form that lead to denial-of-service (DoS).

Other sources

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.

Affected Software

3 affected components
Realtek Realtek Jungle SDK>=2.0<=3.4.14b
Realtek AP-Router SDK
Realtek Rtl819x Jungle Software Development Kit>=2.0<=3.4.14b

Event History

Aug 16, 2021
CVE Published
via MITRE·11:07 AM
Data Sourced
via MITRE·11:07 AM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityAffected Software
Nov 3, 2021
Known Exploited
via CISA·12:00 AM
Apr 12, 58454
Event
03:30 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-35395?

CVE-2021-35395 is a buffer overflow vulnerability present in the Realtek AP-Router SDK.

2

How severe is CVE-2021-35395?

CVE-2021-35395 is classified as a critical vulnerability with a severity score of 9.8 out of 10.

3

Which software versions are affected by CVE-2021-35395?

Realtek Jungle SDK versions 2.x up to 3.4.14B as well as the Realtek AP-Router SDK are affected by CVE-2021-35395.

4

What is the Common Weakness Enumeration (CWE) ID for CVE-2021-35395?

CVE-2021-35395 is associated with CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) and CWE-77 (Improper Neutralization of Special Elements used in a Command).

5

Are there any references available for CVE-2021-35395?

Yes, you can find more information about CVE-2021-35395 in the references provided: [Advisory - Multiple Issues in Realtek SDK IoT Supply Chain](https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chain), [Realtek Website - Taiwan](https://www.realtek.com/en/cu-1-en/cu-1-taiwan-en), [Realtek AP-Router SDK Advisory - CVE-2021-35392_35395](https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdf).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203