| Title | D-Link DIR-513 10 Buffer Overflow |
|---|
| Description | Dlink DIR-513 uses the boa program to provide web service. This program initializes services via the websAspInit function, setting several callback APIs. When a POST request is made to /goform/formSetWanDhcpplus, it triggers the formSetWanDhcpplus callback function. The function extracts the curTime parameter from the request body and concatenates it into a stack variable using sprintf(v68, "%s?t=%s", last_url, Var);. Since the length of curTime is not properly checked, it can overflow the stack and cause a denial of service. This vulnerability can be further exploited to gain shell access to the device. |
|---|
| Source | ⚠️ https://github.com/LYN1ng/D-linkdir513/blob/main/Dlink_DIR-513_Buffer_Overflow_Vulnerability.md |
|---|
| User | Yning (UID 88139) |
|---|
| Submission | 07/20/2025 08:11 (11 months ago) |
|---|
| Moderation | 07/21/2025 09:43 (1 day later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 317086 [D-Link DIR-513 up to 20190831 formSetWanDhcpplus curTime buffer overflow] |
|---|
| Points | 20 |
|---|