Submit #858269: Tenda AC18 V15.03.05.19_multi Stack-based Buffer Overflowinfo

TitleTenda AC18 V15.03.05.19_multi Stack-based Buffer Overflow
DescriptionTitle: Remote Stack-Based Buffer Overflow in Tenda AC18 via GetValue in formGetSysToolDDNS Description: A critical stack-based buffer overflow vulnerability was identified in the HTTP server daemon (httpd) of the Tenda AC18 router (firmware version V15.03.05.19_multi). Vulnerability Mechanism: The issue stems from an insecure data flow between configuration storage and profile retrieval handlers. In the web form configuration function formSetSysToolDDNS, an attacker can supply an arbitrarily long payload via the HTTP POST argument serverName. The application saves this untrusted input directly into the system database under the key adv.ddns1.type. Subsequently, when the configuration status is queried via the formGetSysToolDDNS function, the application invokes the GetValue function to fetch the stored adv.ddns1.type profile. However, GetValue transfers the data without any boundary validation into a fixed-size stack buffer v16, which is allocated with only 32 bytes of capacity (_BYTE v16[32]). Impact: By submitting a crafted serverName parameter exceeding 32 bytes in a prior request, a remote attacker can trigger a linear stack overwrite during the status retrieval phase. This corrupts the local stack frame and hijacks the saved return address, allowing the attacker to cause a persistent Denial of Service (DoS) by crashing the httpd daemon or potentially achieve full remote code execution (RCE) with root privileges.
Source⚠️ https://github.com/mz21g/vulnerabilities/tree/main/Tenda/AC18/vuln_1
User
 yanzhichen (UID 98986)
Submission06/14/2026 19:11 (1 month ago)
Moderation07/20/2026 09:09 (1 month later)
StatusDuplicate
VulDB entry327211 [Tenda AC18 15.03.05.19(6318) /goform/SetDDNSCfg ddnsEn stack-based overflow]
Points0

Interested in the pricing of exploits?

See the underground prices here!