| Titel | D-Link DIR-513 10 Buffer Overflow |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/LYN1ng/D-linkdir513/blob/main/Dlink_DIR-513_Buffer_Overflow_Vulnerability.md |
|---|
| Benutzer | Yning (UID 88139) |
|---|
| Einreichung | 20.07.2025 08:11 (vor 11 Monaten) |
|---|
| Moderieren | 21.07.2025 09:43 (1 day later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 317086 [D-Link DIR-513 bis 20190831 formSetWanDhcpplus curTime Pufferüberlauf] |
|---|
| Punkte | 20 |
|---|