CVE-2025-4007
published 2025-04-28CVE-2025-4007: A vulnerability classified as critical was found in Tenda W12 and i24 3.0.0.4(2887)/3.0.0.5(3644). Affected by this vulnerability is the function…
PriorityP266high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.84%
53.9th percentile
A vulnerability classified as critical was found in Tenda W12 and i24 3.0.0.4(2887)/3.0.0.5(3644). Affected by this vulnerability is the function cgidhcpsCfgSet of the file /goform/modules of the component httpd. The manipulation of the argument json leads to stack-based buffer overflow. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| tenda | i24 | — | — |
| tenda | i24 | — | — |
| tenda | i24_firmware | — | — |
| tenda | i24_firmware | — | — |
| tenda | w12 | — | — |
| tenda | w12 | — | — |
| tenda | w12_firmware | — | — |
| tenda | w12_firmware | — | — |
Detection & IOCsextracted from sources · hover to see the quote
snort
alert http1 any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Tenda dhcpsCfgSet altDNS parameter Buffer Overflow Attempt (CVE-2025-4007)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:15; content:"/goform/modules"; http.request_body; content:"dhcpsCfgSet"; fast_pattern; content:"altDns"; pcre:"/^\x22\x3a[^\x7c\x2c$]{100,}(?:\x2c|\x7d|$)/R"; reference:cve,2025-4007; reference:url,github.com/02Tn/vul/issues; classtype:web-application-attack; sid:2062204; rev:2; metadata:affected_product Tenda, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_05_08, cve CVE_2025_4007, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_05_09, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)- →Exploit targets HTTP POST requests to the exact URI /goform/modules with a body containing both 'dhcpsCfgSet' and 'altDns' parameters; URI length is exactly 15 bytes. ↗
- →The overflow payload in the 'altDns' JSON value is detectable by a PCRE match: the value (after the colon+quote) contains 100 or more characters that are not pipe, comma, or end-of-string, followed by a comma, closing brace, or end of string. ↗
- →Attack is plaintext HTTP (not TLS), targeting networking equipment on the perimeter or internal network; traffic flows from any source to the home network. ↗
- →Exploit PoC is publicly available; reference the GitHub issue tracker at github.com/02Tn/vul/issues for proof-of-concept details. ↗
- →Vulnerable component is the httpd process handling the cgidhcpsCfgSet function; the 'json' argument to that function is the attack surface. ↗
- ·Affected firmware versions are 3.0.0.4(2887) for Tenda W12 and 3.0.0.5(3644) for Tenda i24; detections should be scoped to these devices/firmware where possible. ↗
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv4.08.7HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Suricata
ET WEB_SPECIFIC_APPS Tenda dhcpsCfgSet altDNS parameter Buffer Overflow Attempt (CVE-2025-4007)
suricata·2025-05-08·CVSS 8.7
CVE-2025-4007 [HIGH] ET WEB_SPECIFIC_APPS Tenda dhcpsCfgSet altDNS parameter Buffer Overflow Attempt (CVE-2025-4007)
ET WEB_SPECIFIC_APPS Tenda dhcpsCfgSet altDNS parameter Buffer Overflow Attempt (CVE-2025-4007)
Rule: alert http1 any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Tenda dhcpsCfgSet altDNS parameter Buffer Overflow Attempt (CVE-2025-4007)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:15; content:"/goform/modules"; http.request_body; content:"dhcpsCfgSet"; fast_pattern; content:"altDns"; pcre:"/^\x22\x3a[^\x7c\x2c$]{100,}(?:\x2c|\x7d|$)/R"; reference:cve,2025-4007; reference:url,github.com/02Tn/vul/issues; classtype:web-application-attack; sid:2062204; rev:2; metadata:affected_product Tenda, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_05_08, cve CVE_2025_4007, deployment Perimeter, deployment Internal, performance_impact Low, conf
No public exploits indexed.
2025-04-28
Published