LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

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

RBRecent Breaches Vulnerability Intelligence·Nov 3, 2021
CVSS 9.8 · Critical⚠ Actively exploited (CISA KEV)
9.8
CVSS score
Critical
Severity
Active
CISA KEV
No
Ransomware use
Nov 17, 2021
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2021-35395 to its Known Exploited Vulnerabilities catalog on Nov 3, 2021, with a federal patch deadline of Nov 17, 2021 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

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.

CVE-2021-35395 is a buffer overflow weakness in the Realtek AP-Router SDK, specifically in the HTTP web server component known as boa. Unsafe handling of overly long parameters submitted through web forms can crash the service and produce a denial-of-service condition. Devices built on this SDK are common in consumer and small-business access points and routers; an unauthenticated or lightly authenticated attacker who can reach the management interface may disrupt availability of the network edge. Confirm exact product impact and fixed builds against the vendor advisory.

How it works

The flaw combines improper input validation (CWE-20) with a heap-based buffer overflow (CWE-122). The boa web server copies certain form parameters into fixed-size buffers without adequate length checks. When an attacker supplies values longer than those buffers can hold, memory adjacent to the buffer is overwritten. In the behavior described by CISA, the immediate result is denial-of-service: the web server process becomes unstable or terminates, taking management access and potentially other services offline. Public detail does not describe reliable remote code execution for this CVE; treat any claims of further impact as unconfirmed until verified against the vendor advisory and your own testing. Exploitation requires the ability to submit HTTP form data to the affected boa instance, which is typically exposed on the device’s LAN or, if misconfigured, on the WAN.

Am I affected? How to find it in your systems

Realtek AP-Router SDK code appears inside many white-label and OEM Wi-Fi routers, access points, and residential gateways. Inventory efforts should focus on:

Because OEMs rebrand the same SDK under many model names, do not rely solely on a “Realtek” label. Check every router and AP firmware against the vendor’s security bulletin. Telemetry signs of attempted exploitation include repeated HTTP POST requests containing unusually long parameter values aimed at form endpoints, followed by boa or httpd process crashes, unexpected device reboots, or loss of the web management service. Correlate web-server logs (if retained) with system logs showing segmentation faults or watchdog resets. Absence of such logs does not prove safety; many embedded devices keep minimal logging.

How to remediate

Patching is the primary remediation. Apply the firmware or SDK update supplied by Realtek or by the OEM that shipped your device, following the vendor’s instructions exactly as required by CISA. After updating:

If the OEM has not released a fix, open a support case and track their response; in parallel apply the compensating controls below.

If you can't patch immediately

Until a vendor update can be installed, reduce exposure with layered controls:

These measures lower the likelihood of successful DoS but do not replace the patch.

If your data may have been exposed

CISA notes that this vulnerability leads to denial-of-service; ransomware use is not documented for CVE-2021-35395. A successful attack could still coincide with broader compromise if an attacker already has foothold elsewhere, so treat any unexplained outage of an affected device as a trigger for routine incident checks—credential resets, review of adjacent systems, and verification that no unauthorized configuration changes occurred. You can run a free exposure scan of your email addresses against known breach data sets to see whether your accounts appear in unrelated third-party breaches while you complete remediation.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedRealtek · AP-Router SDK
WeaknessCWE-20
CVSS base score9.8 (Critical)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PublishedAug 16, 2021
Added to CISA KEVNov 3, 2021
Federal patch deadlineNov 17, 2021
Known ransomware useNot documented
Check if your data is exposed →

References

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities