Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2024-30612

CVE-2024-30612: Tenda AC10U Firmware Buffer Overflow Flaw

CVE-2024-30612 is a stack overflow vulnerability in Tenda AC10U Firmware affecting the formSetClientState function through deviceId, limitSpeed, and limitSpeedUp parameters. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

CVE-2024-30612 Overview

CVE-2024-30612 is a stack-based buffer overflow vulnerability in the Tenda AC10U wireless router running firmware version 15.03.06.48. The flaw resides in the formSetClientState function, where the deviceId, limitSpeed, and limitSpeedUp parameters are copied into fixed-size stack buffers without proper bounds checking. An authenticated attacker on the network can send a crafted HTTP request to trigger memory corruption. Successful exploitation can crash the device or allow arbitrary code execution within the router's web management process. The vulnerability is tracked as [CWE-121: Stack-based Buffer Overflow].

Critical Impact

Authenticated network attackers can corrupt the router's stack memory and potentially execute arbitrary code, compromising confidentiality and integrity of the device.

Affected Products

  • Tenda AC10U router hardware
  • Tenda AC10U firmware version 15.03.06.48
  • Web management interface exposing the formSetClientState endpoint

Discovery Timeline

  • 2024-03-28 - CVE-2024-30612 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-30612

Vulnerability Analysis

The vulnerability affects the formSetClientState handler in the httpd binary of the Tenda AC10U router. This function is exposed through the device's web administration interface and processes client bandwidth-control requests. The handler reads three attacker-controlled HTTP parameters (deviceId, limitSpeed, and limitSpeedUp) and copies their values into local stack buffers.

Because the function relies on unsafe string operations without validating input length, oversized parameter values overwrite adjacent stack memory. This overwrites the saved return address and other control data on the stack. An attacker holding low-privilege credentials on the router can issue the malicious request over the network without user interaction.

Exploitation impacts both confidentiality and integrity because arbitrary code executing in the httpd process runs with elevated privileges on the device. Denial of service through router crash is a lower-effort outcome of the same primitive.

Root Cause

The root cause is missing length validation before copying user-supplied query parameters into fixed-size stack buffers. The formSetClientState function trusts client input length, which violates safe string-handling practice in embedded firmware.

Attack Vector

The attack vector is network-based against the router's HTTP management service. The attacker must be able to reach the device and authenticate with valid credentials. Once authenticated, a single HTTP POST request containing overlong values for deviceId, limitSpeed, or limitSpeedUp triggers the overflow. See the GitHub IoT Vulnerability Documentation for the technical proof-of-concept details.

No verified exploit code is being reproduced here. Technical details are described in prose based on the referenced advisory.

Detection Methods for CVE-2024-30612

Indicators of Compromise

  • Unexpected reboots, crashes, or unresponsive states in the Tenda AC10U web management interface
  • HTTP POST requests to /goform/setClientState or equivalent endpoints containing abnormally long deviceId, limitSpeed, or limitSpeedUp parameter values
  • Authentication events from unusual source IP addresses immediately preceding router instability

Detection Strategies

  • Inspect HTTP traffic destined for the router's management interface for parameter values that exceed expected lengths
  • Monitor router syslog output for httpd process crashes, segmentation faults, or watchdog-triggered reboots
  • Alert on repeated failed or successful administrative logins followed by malformed POST bodies

Monitoring Recommendations

  • Forward router logs to a centralized log platform and retain HTTP request metadata for the management interface
  • Restrict management-plane exposure so only trusted management VLANs can send traffic to the router's web UI
  • Baseline normal administrative traffic patterns to surface abnormal parameter payload sizes

How to Mitigate CVE-2024-30612

Immediate Actions Required

  • Disable remote WAN-side administration on the Tenda AC10U and restrict access to the LAN
  • Rotate administrator credentials and enforce strong, unique passwords to reduce risk of an authenticated attacker
  • Segment the router's management interface onto a dedicated administrative network isolated from untrusted hosts
  • Track vendor communications from Tenda for a firmware release addressing formSetClientState

Patch Information

At the time of the last NVD update on 2026-06-17, no vendor advisory URL is listed for CVE-2024-30612. Affected users should monitor Tenda's official support channels for an updated firmware release beyond version 15.03.06.48. Until a patch is available, apply the workarounds below to reduce exposure.

Workarounds

  • Block external access to TCP ports serving the router's HTTP administration interface at the upstream firewall
  • Place the router behind a trusted management jump host and require VPN access for administrative sessions
  • Consider replacing end-of-support hardware with a currently maintained device if no firmware update is released
bash
# Example: restrict router management interface to a single admin host
# Run on an upstream firewall (adjust interface, admin IP, and router IP)
iptables -A FORWARD -p tcp -d 192.0.2.1 --dport 80  -s 192.0.2.50 -j ACCEPT
iptables -A FORWARD -p tcp -d 192.0.2.1 --dport 443 -s 192.0.2.50 -j ACCEPT
iptables -A FORWARD -p tcp -d 192.0.2.1 --dport 80  -j DROP
iptables -A FORWARD -p tcp -d 192.0.2.1 --dport 443 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.