BLACKOUT MAP

Realtek · AP-Router SDK

CVE-2021-35395

Realtek AP-Router SDK Buffer Overflow Vulnerability

Exploited in attacks Critical 9.8 Attack chance: 98%
Share

What it is

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.

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

What to do

Apply updates per vendor instructions.

Deadline for US federal agencies: November 17, 2021

Added to the CISA list
November 3, 2021
Published
August 16, 2021
Severity
Critical 9.8 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
98% in the top 0.1% of all known vulnerabilities
Weakness
CWE-20 CWE-122
More details
NVD · CVE.org · CISA
All references (3)

More exploited flaws from Realtek

AddedVulnerabilityProductSeverityAttack chance
Sep 18, 2023Improper Input ValidationCVE-2014-8361SDKCritical 9.8>99.9%
Dec 10, 2021Jungle SDK Remote Code ExecutionCVE-2021-35394Jungle Software Development Kit (SDK)Critical 9.899.9%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.