CVE-2021-35395
CONFIRMED EXPLOITEDRealtek AP-Router SDK Buffer Overflow Vulnerability
Is Realtek AP-Router SDK affected by CVE-2021-35395?
Realtek AP-Router SDK is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2021-35395, added on 2021-11-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (1 vulnerable CPE entry): realtek rtl819x_jungle_software_development_kit.
Published CPE version bounds mark releases up to and including 3.4.14b as vulnerable. Confirm the patched release in the vendor advisory below before treating any upgrade as complete.
The CISA remediation deadline for this entry is 2021-11-17.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2014-8361Same vendorRealtek SDK
Realtek SDK Improper Input Validation Vulnerability
- CVE-2021-35394Same vendorRealtek Jungle Software Development Kit (SDK)
Realtek Jungle SDK Remote Code Execution Vulnerability
- CVE-2023-25915Shared weaknessDanfoss AK-SM 800A Series
Danfoss AK-SM 800A Series Improper Input Validation Vulnerability
- CVE-2026-88771Shared weaknessCitrix NetScaler
Citrix NetScaler Improper Input Validation Vulnerability
- CVE-2021-35211Neighboring entrySolarWinds Serv-U
SolarWinds Serv-U Remote Code Execution Vulnerability
- CVE-2021-35464Neighboring entryForgeRock Access Management (AM)
ForgeRock Access Management (AM) Core Server Remote Code Execution Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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).
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of AP-Router SDK has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- DNS service surface (Realtek AP-Router SDK): inspect DNS query/response telemetry (`Zeek dns.log`, Suricata `eve.json` DNS events, `dnstap`) and resolver logs for malformed packets or daemon crash/restart loops on UDP/TCP :53.
- Memory corruption class (CWE-119/416/787): monitor system logs (`dmesg`, `journalctl`, Windows Event ID 1000, crash dumps) for segmentation faults (`SIGSEGV`/`SIGABRT`) or worker process restarts.
- Inventory all hosts running Realtek AP-Router SDK and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chainBroken LinkExploitThird Party Advisory
- https://www.realtek.com/en/cu-1-en/cu-1-taiwan-enBroken LinkPatchVendor Advisory
- https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdfPatch
- https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chainBroken LinkExploitThird Party Advisory
- https://www.realtek.com/en/cu-1-en/cu-1-taiwan-enBroken LinkPatchVendor Advisory
- https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdfPatch
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-35395US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
Modern, cryptographically opinionated kernel-space VPN tunnel
Endpoint visibility, digital forensics, and incident response (DFIR) platform