draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

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

Exploited in attacksPublic exploit code

Yes. CVE-2021-35395 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 3 November 2021. Public exploit code is available: a Nuclei detection template. EPSS puts the chance of further exploitation attempts in the next 30 days at 98.1%.

Exploited in real attacks
Yes. On CISA's exploited list since 3 November 2021
Used in ransomware
Not known
Public exploit code
A Nuclei detection template
Chance of exploitation (EPSS)
98.1% in the next 30 days, higher than 99.9% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
9.8 Critical (version 3.1)
Affects
Realtek AP-Router SDK
Type of flaw
Improper input validation (CWE-20)
Published
16 August 2021
US federal patch deadline
17 November 2021

What it is

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).

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.

Description from the CVE record.

Is CVE-2021-35395 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2021-35395 on 3 November 2021.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

SourceEntryPublished
Nuclei templateRealTek Jungle SDK - Arbitrary Command Injection

What to do

CISA's required action: Apply updates per vendor instructions.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Realtek AP-Router SDK runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. Assume it has been scanned. A public Nuclei template exists for this flaw, so finding exposed systems across the internet is automated.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in AP-Router SDK. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Realtek products

CVEWhat it affectsStatusEPSSPublished
CVE-2014-8361Realtek SDKPublic exploit99.9%1 May 2015
CVE-2021-35394Realtek Jungle Software Development Kit (SDK)Public exploit99.9%16 August 2021

Sources

Machine-readable: /api/cve/CVE-2021-35395.json