CVE-2024-4111 in TX9info

Summary

by MITRE • 04/24/2024

A vulnerability was found in Tenda TX9 22.03.02.10. It has been rated as critical. Affected by this issue is the function sub_42BD7C of the file /goform/SetLEDCfg. The manipulation of the argument time leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. VDB-261854 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 01/28/2025

The vulnerability identified as CVE-2024-4111 represents a critical stack-based buffer overflow flaw in the Tenda TX9 router firmware version 22.03.02.10. This issue resides within the sub_42BD7C function of the /goform/SetLEDCfg file, which handles LED configuration settings through a web interface. The vulnerability manifests when the time argument parameter is manipulated, creating conditions that allow an attacker to overflow the stack buffer and potentially execute arbitrary code on the affected device. The attack vector is remote, meaning an unauthenticated attacker can exploit this vulnerability without requiring physical access to the device or network credentials. This particular vulnerability has been publicly disclosed and is actively being used in the wild, making it an immediate concern for network administrators and security professionals managing Tenda TX9 devices.

The technical implementation of this buffer overflow stems from improper input validation within the firmware's web form processing logic. When the time parameter is submitted through the SetLEDCfg interface, the application fails to properly bounds-check the input data before copying it into a fixed-size stack buffer. This classic vulnerability pattern aligns with CWE-121, which describes stack-based buffer overflow conditions where insufficient bounds checking allows attackers to overwrite adjacent stack memory. The flaw is particularly dangerous because it occurs in a network-facing component that handles user input from remote web requests, making it accessible to attackers anywhere on the internet. The stack-based nature of the overflow means that attackers can potentially overwrite return addresses, function pointers, and other critical stack data, enabling code execution or system compromise.

The operational impact of CVE-2024-4111 extends beyond simple remote code execution, as it can lead to complete device takeover and potential network infiltration. An attacker who successfully exploits this vulnerability could gain root access to the router, enabling them to modify network settings, redirect traffic, install malware, or establish persistent backdoors. The affected Tenda TX9 devices, being consumer-grade networking equipment, often serve as entry points for broader network attacks, making this vulnerability particularly concerning in enterprise environments where such devices may be present. The fact that the vendor did not respond to early disclosure attempts suggests a potential lack of ongoing support for this device model, leaving users without official patches or remediation guidance. This vulnerability also aligns with ATT&CK technique T1059.007, which covers command and scripting interpreter usage, as successful exploitation would likely involve executing malicious commands on the compromised device.

Mitigation strategies for CVE-2024-4111 should prioritize immediate network segmentation and access control measures while awaiting potential vendor patches or firmware updates. Network administrators should implement firewall rules to block access to the affected web interface and disable unnecessary services on affected devices. The most effective long-term solution involves updating to a patched firmware version from Tenda, although the vendor's lack of response suggests this may not be forthcoming. Organizations should also consider implementing intrusion detection systems to monitor for exploitation attempts and conduct thorough network scans to identify potentially compromised devices. Given that the vulnerability is publicly known and actively exploited, immediate action is required to prevent unauthorized access to affected networks. The disclosure of this vulnerability through VDB-261854 indicates that security researchers have already identified and documented the issue, making it crucial for organizations to assess their exposure and implement protective measures before attackers can leverage this weakness.

Responsible

VulDB

Reservation

04/24/2024

Disclosure

04/24/2024

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.01453

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!