CVE-2021-35395Realtek AP-Router SDK
Buffer Overflow in Realtek AP-Router SDK Web Server
Critical 9.8 KEV No auth neededHigh EPSS
Follow: this CVE · Realtek · Realtek AP-Router SDK We alert you by email or Slack (account required).
- Priority
- 84
- CVSS 3.1
- 9.8
- EPSS
- 98.1% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Nov 3, 2021
- CISA deadline
- Nov 17, 2021
- Ransomware use
- Unknown
- Published
- Aug 16, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Realtek Jungle SDK versions 2.x through 3.4.14B contain multiple buffer overflow vulnerabilities in its management web server (webs and boa) allowing unauthenticated remote code execution. Attackers can exploit unsafe parameters such as submit-url, ifname, hostname, and peerPin to execute arbitrary commands. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
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).
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 3.4.14b
Update Realtek Jungle SDK to a version after 3.4.14B or apply the vendor patch according to published instructions.
- Apply the vendor's security update for AP-Router SDK.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was November 17, 2021.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| realtek | rtl819x_jungle_software_development_kit | ≥ 2.0 ≤ 3.4.14b |
Official sources
References
Links published by the sources. Open them with care.
- www.iot-inspector.com Broken Link Exploit Third Party Advisory
- www.realtek.com Broken Link Patch Vendor Advisory
- www.realtek.com Patch
- www.cisa.gov US Government Resource