CVE-2025-70223
Stack Buffer Overflow in D-Link DIR-513 Network Module
Publication date: 2026-03-04
Last updated on: 2026-03-06
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| dlink | dir-513_firmware | 1.10 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-121 | A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': "This vulnerability can be detected by sending a specially crafted POST request to the affected device's endpoint and observing its response or behavior."}, {'type': 'paragraph', 'content': 'Specifically, a POST request to the path /goform/formAdvFirewall with an excessively long curTime parameter in the form data can trigger the stack buffer overflow.'}, {'type': 'paragraph', 'content': 'A sample detection command using curl might look like this:'}, {'type': 'list_item', 'content': 'curl -X POST http://<target-ip>/goform/formAdvFirewall -H "Content-Type: application/x-www-form-urlencoded" -d "curTime=$(python3 -c \'print("1"*1000)\')"'}, {'type': 'paragraph', 'content': 'If the device crashes, behaves unexpectedly, or returns an error, it may be vulnerable.'}] [1]
Can you explain this vulnerability to me?
CVE-2025-70223 is a stack buffer overflow vulnerability found in the D-Link DIR-513 router, specifically in firmware version v1.10. It occurs in the component handling the path goform/formAdvNetwork and is triggered via the curTime parameter.
The overflow happens because of the use of the sprintf function when processing the curTime parameter, which allows an attacker to overwrite the stack.
An attacker can exploit this by sending a specially crafted POST request with an excessively long curTime value, causing the buffer overflow.
How can this vulnerability impact me? :
This vulnerability can be exploited to execute arbitrary code on the affected device or cause a denial of service (DoS).
Because it is a stack buffer overflow with a high CVSS score of 9.8, it poses a critical risk allowing attackers to potentially take full control of the device remotely without any user interaction.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
What immediate steps should I take to mitigate this vulnerability?
[{'type': 'paragraph', 'content': "Immediate mitigation steps include restricting access to the affected device's management interface to trusted networks only."}, {'type': 'paragraph', 'content': "Avoid exposing the device's web management interface to untrusted networks or the internet."}, {'type': 'paragraph', 'content': 'Monitor network traffic for suspicious POST requests targeting /goform/formAdvFirewall with unusually long curTime parameters.'}, {'type': 'paragraph', 'content': 'If available, update the device firmware to a version that patches this vulnerability.'}, {'type': 'paragraph', 'content': 'If no patch is available, consider disabling the vulnerable service or replacing the device with a secure alternative.'}] [1]