Skip to content

CVE-2021-35395

Realtek AP-Router SDK Buffer Overflow

9.8 CRITICALActively exploited (CISA KEV)Public exploitEPSS 98.1%
  1. Published16 Aug 2021
  2. Added to CISA KEV3 Nov 2021
  3. Remediation due17 Nov 2021
9.8CVSS 3.1 scoreCRITICAL
Exploit probability (EPSS)98.1%
100th percentile of all scored CVEs
Actively exploited (CISA KEV)

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

Added to KEV: 3 Nov 2021Federal remediation due: 17 Nov 2021
01

In short

CVE-2021-35395 (Realtek AP-Router SDK Buffer Overflow) has a CVSS 3.1 base score of 9.8, rated critical. CISA added it to the Known Exploited Vulnerabilities catalog on 3 Nov 2021. The NVD records no fixed version, so follow the vendor advisory.

02

Description

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.

03

CVSS 3.1 breakdown

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
04

Affected products

  • Realtek Rtl819x Jungle Software Development Kit≥ 2.0 ≤ 3.4.14b
05

Remediation

No fixed version is recorded in the NVD data. Check the vendor advisory for the latest guidance.

Patch & vendor advisories

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.

06:00 · IN YOUR FLEET

How Secuno handles this

Secuno matches CVE-2021-35395 against the software on every managed device each hour and ranks it by exploit status, EPSS and exposure. Because it is on the CISA KEV list, its fix goes straight to the Emergency patch lane.