CVE-2025-70231
Undergoing Analysis Undergoing Analysis - In Progress
Path Traversal in D-Link DIR-513 Login Causes Critical Risk

Publication date: 2026-03-05

Last updated on: 2026-03-06

Assigner: MITRE

Description
D-Link DIR-513 version 1.10 contains a critical-level vulnerability. When processing POST requests related to verification codes in /goform/formLogin, it enters /goform/getAuthCode but fails to filter the value of the FILECODE parameter, resulting in a path traversal vulnerability.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-05
Last Modified
2026-03-06
Generated
2026-05-07
AI Q&A
2026-03-05
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
dlink dir-513_firmware 1.10
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-70231 is a critical vulnerability in the D-Link DIR-513 router version 1.10. It occurs when processing POST requests related to verification codes at the endpoint /goform/formLogin. The vulnerability arises because the router fails to properly filter the FILECODE parameter in the /goform/getAuthCode endpoint, leading to a path traversal issue.

Additionally, there is a stack buffer overflow vulnerability related to the handling of the curTime parameter in the /goform/formLogin endpoint. Sending a specially crafted POST request with an excessively long curTime value can trigger this overflow via the sprintf function, potentially allowing arbitrary code execution or denial of service.


How can this vulnerability impact me? :

This vulnerability can have severe impacts including unauthorized access and control over the affected router. The path traversal issue may allow attackers to access sensitive files or directories outside the intended scope.

The stack buffer overflow can be exploited to execute arbitrary code or cause a denial of service, potentially disrupting network connectivity or allowing attackers to take control of the device.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


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 /goform/formLogin endpoint of the D-Link DIR-513 router firmware version 1.10. The request should include an excessively long numeric string assigned to the curTime parameter, which triggers the stack buffer overflow.'}, {'type': 'paragraph', 'content': 'A detection command example using curl would be:'}, {'type': 'list_item', 'content': 'curl -X POST http://<target-ip>/goform/formLogin -H "Content-Type: application/x-www-form-urlencoded" -d "curTime=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"'}, {'type': 'paragraph', 'content': 'If the system is vulnerable, this request may cause abnormal behavior such as a crash or denial of service, indicating the presence of the vulnerability.'}] [1]


What immediate steps should I take to mitigate this vulnerability?

I don't know


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart