| タイトル | D-Link DIR-513 V1.10 Buffer Overflow |
|---|
| 説明 | A stack-based buffer overflow vulnerability exists in the formSetWanNonLogin function of the Boa web server, which is used to implement the web-based management interface in the DIR-513 embedded device.
This vulnerability is triggered when a remote attacker sends a specially crafted POST request to the /goform/formSetWanNonLogin endpoint. The vulnerable function retrieves the curTime parameter from the request body and later uses it in a call to sprintf():
sprintf(v64, "%s?t=%s", last_url, Var);
Here, Var is derived from the curTime input. Since the length of curTime is not properly validated before being used in sprintf, an attacker can supply an overly long value, leading to a stack buffer overflow. |
|---|
| ソース | ⚠️ https://github.com/buobo/bo-s-CVE/blob/main/DIR-513/formSetWanNonLogin.md |
|---|
| ユーザー | bazhuayu (UID 86763) |
|---|
| 送信 | 2025年07月18日 20:35 (12 月 ago) |
|---|
| モデレーション | 2025年07月19日 21:09 (1 day later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 317025 [D-Link DIR-513 1.10 Boa Webserver formSetWanNonLogin sprintf curTime メモリ破損] |
|---|
| ポイント | 20 |
|---|