CVE-2025-7945
published 2025-07-22CVE-2025-7945: A vulnerability was found in D-Link DIR-513 up to 20190831. It has been declared as critical. This vulnerability affects the function formSetWanDhcpplus of the…
PriorityP265high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
4.45%
90.3th percentile
A vulnerability was found in D-Link DIR-513 up to 20190831. It has been declared as critical. This vulnerability affects the function formSetWanDhcpplus of the file /goform/formSetWanDhcpplus. The manipulation of the argument curTime leads to buffer overflow. The attack can be initiated remotely. This vulnerability only affects products that are no longer supported by the maintainer.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| d-link | dir-513 | — | — |
Detection & IOCsextracted from sources · hover to see the quote
urlhttps://github.com/LYN1ng/D-linkdir513
commandPOST /goform/formSetWanDhcpplus
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link formSetWanDhcpplus curTime Parameter Buffer Overflow Attempt (CVE-2025-7945)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:26; content:"/goform/formSetWanDhcpplus"; fast_pattern; http.request_body; content:"curTime|3d|"; pcre:"/^[^\x26$]{100,}(?:\x26|$)/R"; reference:url,github.com/LYN1ng/D-linkdir513; reference:cve,2025-7945; classtype:web-application-attack; sid:2063685; rev:1; metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_07_23, cve CVE_2025_7945, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_07_23, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)- →Exploit is delivered via HTTP POST to the exact URI /goform/formSetWanDhcpplus (URI length is exactly 26 bytes); match on this URI with bsize:26 to avoid false positives.
- →The overflow payload is carried in the POST body as the curTime parameter (URL-encoded '=' is 0x3d); look for 'curTime=' followed by 100 or more non-ampersand characters to identify a buffer overflow attempt.
- →Traffic is plaintext HTTP (not TLS); deploy detection at the network perimeter and internally on segments hosting D-Link DIR-513 devices.
- →Attack maps to MITRE ATT&CK T1190 (Exploit Public-Facing Application) under tactic TA0001 (Initial Access); correlate with other exploitation attempts against network equipment.
- ·The vulnerability only affects D-Link DIR-513 firmware up to 20190831, a product that is end-of-life and will receive no vendor patch; affected devices should be isolated or replaced. ↗
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 D-Link formSetWanDhcpplus curTime Parameter Buffer Overflow Attempt (CVE-2025-7945)
suricata·2025-07-23·CVSS 8.7
CVE-2025-7945 [HIGH] ET WEB_SPECIFIC_APPS D-Link formSetWanDhcpplus curTime Parameter Buffer Overflow Attempt (CVE-2025-7945)
ET WEB_SPECIFIC_APPS D-Link formSetWanDhcpplus curTime Parameter Buffer Overflow Attempt (CVE-2025-7945)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link formSetWanDhcpplus curTime Parameter Buffer Overflow Attempt (CVE-2025-7945)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:26; content:"/goform/formSetWanDhcpplus"; fast_pattern; http.request_body; content:"curTime|3d|"; pcre:"/^[^\x26$]{100,}(?:\x26|$)/R"; reference:url,github.com/LYN1ng/D-linkdir513; reference:cve,2025-7945; classtype:web-application-attack; sid:2063685; rev:1; metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_07_23, cve CVE_2025_7945, deployment Perimeter, deployment Internal, performance_impact Low, confid
No public exploits indexed.
No writeups or analysis indexed.
2025-07-22
Published