CVE Professor
/
All CVEs
CVE-2026-144939

CVE-2026-144939 — Tenda AC5 (03.03.14.11) — CWE-119 · CWE-121

HIGH CVSS 9.3 NVD

A vulnerability was found in Tenda AC5 03.03.14.11. Affected by this vulnerability is the function app_set_ucloud_info_clear_account of the component ucloud. Performing a manipulation of the argument ucloud_need_clear_acc results in stack-based buffer overflow. The attack requires a local approach. The exploit has been made public and could be used.

A vulnerability was found in Tenda AC5 03.03.14.11. Affected by this vulnerability is the function app_set_ucloud_info_clear_account of the component ucloud. Performing a manipulation of the argument ucloud_need_clear_acc results in stack-based buffer overflow. The attack requires a local approach. The exploit has been made public and could be used.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector Local AV:L
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a Stack-Based Buffer Overflow (CWE-121) within the ucloud component of the Tenda AC5 router firmware (version 03.03.14.11).

Technical Flaw Analysis:
The specific function app_set_ucloud_info_clear_account fails to perform adequate bounds checking on the input parameter ucloud_need_clear_acc. In embedded C applications, stack-based overflows occur when a function writes more data to a local variable (buffer) than its allocated size on the stack.

1. Missing Input Validation: The function accepts the ucloud_need_clear_acc argument without verifying its length against the size of the destination buffer.
2. Stack Corruption: When an attacker provides a payload larger than the buffer size, the excess data overwrites adjacent stack memory. This typically includes:
* Local variables.
* The saved frame pointer (EBP/RBP).
* The return address.
3. Control Flow Hijack: By overwriting the return address, an attacker can redirect program execution to arbitrary memory locations. If the attacker can also control the content of the overwritten return address (or use ROP gadgets), they can execute arbitrary shellcode.

CVSS Context:

  • AV:L (Local): The attack requires local access. This implies the attacker must already have a foothold on the device (e.g., via a compromised admin account, a physical connection, or a prior vulnerability that grants local shell access).

  • PR:L (Low Privileges): The attacker does not need root privileges to trigger the overflow, but must have some level of local access (e.g., a standard user or a service account).

  • VC:H/VI:H/VA:H: Successful exploitation leads to complete compromise of the router's confidentiality, integrity, and availability.

  • SC:H/SI:H/SA:H: The impact extends to the scope, meaning the compromised router can be used to pivot to other systems on the network or launch attacks against upstream/downstream devices.
  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

  • Target Identification: The attacker identifies a Tenda AC5 router running firmware version 03.03.14.11. This can be done via:
  • * Banner grabbing on the web management interface (HTTP/HTTPS). * SNMP queries (if enabled). * Physical inspection of the device label.
  • Local Access Acquisition: Since the vulnerability is local (AV:L), the attacker must first gain local access. This could be achieved via:
  • * A compromised admin account (default credentials or brute-forced). * A previous vulnerability that allows arbitrary file upload or command injection. * Physical access to the device (e.g., via USB or serial console, if available). * A compromised client on the local network that can interact with the router's local services.

    2. Exploitation

    The attacker crafts a malicious payload for the ucloud_need_clear_acc parameter. The exact endpoint URI is not specified in the CVE description, but it is likely part of the UCloud (Tenda's cloud service) configuration interface.

    Illustrative PoC (Conceptual):
    Note: The following is an illustrative example of how a stack overflow might be triggered. The exact offset and ROP gadgets depend on the specific firmware binary and architecture (likely MIPS or ARM for Tenda routers).

    # Illustrative Python script to generate a payload
    # This is NOT a working exploit, but a demonstration of the concept.
    
    import struct
    
    # Assume the buffer size is 100 bytes (hypothetical)
    # The attacker needs to send a payload larger than 100 bytes to overflow.
    
    # Step 1: Fill the buffer with 'A'
    buffer = b'A' * 100
    
    # Step 2: Overwrite the saved EBP (4 bytes on 32-bit MIPS/ARM)
    ebp = b'\x41\x41\x41\x41'  # 'AAAA'
    
    # Step 3: Overwrite the return address with a ROP gadget or shellcode address
    # This address is hypothetical and would need to be found via reverse engineering.
    return_addr = struct.pack('<I', 0x00401000)  # Example address
    
    # Combine the payload
    payload = buffer + ebp + return_addr
    
    # The attacker would send this payload to the vulnerable function.
    # For example, via a local API call or a crafted HTTP request if the function is exposed locally.
    # curl -X POST http://192.168.0.1/ucloud/set_info \
    #      -d "ucloud_need_clear_acc=$(python3 -c 'print(payload.decode())')"

    Key Exploitation Steps:
    1. Offset Determination: The attacker determines the exact offset to the return address using a cyclic pattern (e.g., msf-pattern_create).
    2. Gadget Hunting: The attacker identifies ROP gadgets or a suitable address for shellcode execution within the router's memory space.
    3. Payload Construction: The attacker constructs a payload that overwrites the return address to point to the shellcode or ROP chain.
    4. Triggering the Overflow: The attacker invokes the app_set_ucloud_info_clear_account function with the malicious payload. This could be done via:
    * A local command-line interface (if available).
    * A local API endpoint.
    * A crafted HTTP request to the router's web interface (if the function is accessible via HTTP).

    3. Post-Exploitation

    Once the return address is overwritten and the shellcode is executed, the attacker gains control of the process.
  • Privilege Escalation: If the process is not running as root, the attacker may need to escalate privileges. This can be done by:
  • * Exploiting a local privilege escalation vulnerability (e.g., SUID binary, kernel exploit). * Modifying the router's configuration to grant root access.
  • Persistence: The attacker can:
  • * Add a backdoor to the router's firmware. * Modify the router's startup scripts to execute malicious code on reboot. * Install a rootkit to hide the compromise.
  • Network Compromise: With control of the router, the attacker can:
  • * Intercept and modify traffic (MITM). * Redirect DNS queries to malicious servers. * Launch attacks against other devices on the local network. * Exfiltrate data from the local network.

    🌍 Real World Impact

  • Confidentiality (High): The attacker can read all traffic passing through the router, including sensitive data such as credentials, financial information, and personal communications.
  • Integrity (High): The attacker can modify traffic, inject malicious content, or alter the router's configuration to disrupt services or redirect traffic.
  • Availability (High): The attacker can crash the router, causing a denial of service for all connected devices.
  • Scope (High): The compromised router can be used as a pivot point to attack other systems on the local network or the internet.
  • Practical Consequences:

  • Home Users: Complete loss of privacy, potential financial fraud, and disruption of internet access.

  • Businesses: Data breaches, intellectual property theft, and disruption of business operations.

  • Critical Infrastructure: If used in critical environments, the compromise could lead to significant operational disruptions or safety risks.
  • 🛡️ Remediation & Mitigation

    1. Patching

  • Affected Version: Tenda AC5 firmware 03.03.14.11.
  • Recommendation: Check Tenda's official website for a firmware update that addresses this vulnerability. If no update is available, consider replacing the device with a more secure model.
  • 2. Workarounds

  • Disable UCloud Service: If the UCloud service is not required, disable it in the router's configuration. This may prevent the vulnerable function from being called.
  • Restrict Local Access: Ensure that only trusted users have local access to the router. Disable remote management and restrict access to the web interface to trusted IP addresses.
  • Network Segmentation: Isolate the router from sensitive parts of the network to limit the impact of a compromise.
  • 3. Detection

  • Log Monitoring: Monitor the router's logs for unusual activity, such as:
  • * Repeated failed login attempts. * Unusual API calls to the UCloud service. * Unexpected changes to the router's configuration.
  • Network Traffic Analysis: Use network monitoring tools to detect:
  • * Unusual traffic patterns (e.g., large amounts of data being exfiltrated). * DNS queries to suspicious domains. * Traffic to known malicious IP addresses.
  • File Integrity Monitoring: Monitor the router's file system for unauthorized changes, such as:
  • * New or modified binaries. * Changes to startup scripts. * Unexpected files in temporary directories.

    Example ModSecurity Rule (Illustrative):
    Note: This rule is illustrative and may need adjustment based on the specific router's behavior.

    SecRule ARGS:ucloud_need_clear_acc "@rx ^[A-Za-z0-9]{100,}" \
        "id:100001,phase:1,deny,status:403,msg:'Potential stack overflow attempt in ucloud_need_clear_acc',log"

    ⚠️ Urgency

  • CVSS Score: 9.3 (Critical)
  • CISA KEV: No
  • Exploit Availability: Public
Patching Priority: High

Although the vulnerability requires local access (AV:L), the high impact (CVSS 9.3) and the availability of a public exploit make this a critical risk. Organizations should prioritize patching or mitigating this vulnerability, especially in environments where local access to the router is possible (e.g., physical access, compromised admin accounts, or prior vulnerabilities).

Immediate Actions:
1. Check for a firmware update from Tenda.
2. Disable the UCloud service if not needed.
3. Restrict local access to the router.
4. Monitor for signs of compromise.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Tenda AC5"
CVSS Score
9.3 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-119 CWE-121
Affected Products (1)
Tenda:AC5 (03.03.14.11)
Related CVEs
9.9
CVE-2026-144937
A vulnerability has been found in Tenda AC5 03.03.14.11. Affected is the function app_set_ucloud_info_manage_e
8.3
CVE-2026-118326
Improper limitation of a pathname to a restricted directory in attendance photo upload workflow in ZKTeco BioT
6.3
CVE-2026-144894
A vulnerability was identified in vgmstream up to r2117. Impacted is the function build_readable_sab_name of t
6.3
CVE-2026-144895
A security flaw has been discovered in vgmstream up to r2117. The affected element is the function decode_key
10.0
CVE-2026-144884
A vulnerability was determined in D-Link DIR-505 1.10B02. The affected element is the function get_input_entri
7.7
CVE-2026-144663
MariaDB Server before 10.6.25, 10.7 through 10.11.x before 10.11.16, 11.0 through 11.4.x before 11.4.10, 11.5
6.3
CVE-2026-144771
A flaw has been found in SGLang up to 0.5.23. The affected element is the function try_match_prefix of the fil