| Title | DrayTek Vigor2960 Vigor2960 1.5.1.6 (revision 8218) Authenticated jsonstatus usefile Stack Overflow |
|---|
| Description | The jsonstatus action passes attacker-controlled usefile data directly to libjansson.so.0.1.1!json_load_lock. That function uses unbounded sprintf to append .lock into a 256-byte stack buffer. A 512-byte path overwrites the return address and crashes the request CGI.
Affected endpoint: POST /cgi-bin/mainfunction.cgi, action=jsonstatus
Attacker-controlled parameter: usefile
Confirmed impact: cross-module stack overflow and control-flow state corruption.
## Vendor Confirmation
The vulnerability has been officially confirmed. The email is available at: https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/vendor_confirm
The official fix for this vulnerability has been released: https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zip |
|---|
| Source | ⚠️ https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0023-authenticated-jsonstatus-usefile-stack-overflow |
|---|
| User | eqqie (UID 101441) |
|---|
| Submission | 10/20/2026 08:18 (1 month ago) |
|---|
| Moderation | 11/18/2026 14:13 (29 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 439441 [DrayTek Vigor2960 up to 1.5.1.6 Jsonstatus mainfunction.cgi json_load_lock usefile stack-based overflow] |
|---|
| Points | 20 |
|---|