Dir 513 Firmware
CVE-2025-70245
CRITICAL
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 9.8 (Critical). Network vector, no auth, low complexity. D-Link DIR-513 is end-of-life and will not receive patches. EPSS 0.04%. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to the DIR-513 setup wizard with an oversized curTime parameter. The stack overflow redirects execution to attacker-controlled shellcode, installing a persistent backdoor on the router. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
D-Link DIR-513 router (v1.10) has a stack buffer overflow in the curTime parameter of formSetWizardSelectMode. This is an end-of-life router with no expected patch, meaning exploitation will remain possible indefinitely.
Earlier versions of this analysis (1)
D-Link DIR-513 v1.10 has a stack buffer overflow via the curTime parameter in the setup wizard, enabling remote code execution on an EOL device.
RemediationAI
Replace the D-Link DIR-513 with a currently supported router. If replacement is not immediately possible, disable remote management and restrict LAN access to the admin interface.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The formSetWizardSelectMode handler does not bounds-check the curTime parameter before copying it to a stack buffer (CWE-787). A sufficiently long input overwrites the return address, enabling attacker-controlled code execution. As a MIPS-based router, exploitation follows well-known MIPS ROP techniques.
Know when Dir 513 Firmware gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
Stack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetWizardSelectMode.
Executive ViewAI
A critical stack buffer overflow vulnerability (CVE-2025-70245) affects D-Link DIR-513 v1.10 devices, allowing unauthenticated remote code execution with a 9.8 CVSS score. Organizations deploying this router model face immediate risk of network compromise, data breach, and loss of operational control, with no vendor patch currently available.
Disable remote management and WAN access to the device; implement WAF/IDS rules to block POST requests to goform/formSetWizardSelectMode with oversized curTime parameters; place device on isolated network segment with egress filtering; disable UPnP if enabled; implement strict IP-based access controls limiting administrative interfaces to trusted networks only; monitor for exploitation attempts and unauthorized firmware modifications.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
More in Dir 513 Firmware
View allPath traversal in D-Link DIR-513 verification code processing. PoC available.
D-link Dir-513 A1FW110 is vulnerable to Buffer Overflow in the function formTcpipSetup. [CVSS 9.8 CRITICAL]
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetEnableWizard. Part of a family
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetMACFilter. Part of a family of
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetDDNS. Part of a family of 15+ c
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSchedule. Part of a family of 15+
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formLogin,goform/getAuthCode. Part of
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formEasySetupWWConfig. Part of a famil
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formLogin. Part of a family of 15+ cri
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formDeviceReboot. Part of a family of
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formEasySetupWizard. Part of a family
Stack buffer overflow in D-Link DIR-513 v1.10 via the curTime parameter to goform/formAdvNetwork. Part of a family of 15
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB