| Title | Wavlink WL-NU516U1-A M16U1_V240425 Buffer Overflow |
|---|
| Description | Wavlink WL-NU516U1 firmware M16U1_V240425 contains a stack-based buffer overflow vulnerability in /cgi-bin/wireless.cgi. The function sub_407504 (iwpriv_cmd) allocates a 1028-byte stack buffer and uses sprintf to construct a shell command: sprintf(v8[1028], "iwpriv %s set %s=\"%s\"", a1, a2, a3) without bounds checking. When the Guest_ssid POST parameter exceeds 998 bytes, the sprintf overflows the stack buffer and corrupts the saved return address ($ra register) on the MIPS architecture, potentially allowing control of program execution flow. |
|---|
| Source | ⚠️ https://github.com/Svigo-o/Wavlink_vul/tree/main/wavlink-wl-nu516u1-wireless-guestwifi-guestssid-buffer-overflow |
|---|
| User | JuneGu (UID 98407) |
|---|
| Submission | 05/20/2026 11:18 (1 month ago) |
|---|
| Moderation | 06/28/2026 12:02 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 374547 [Wavlink WL-NU516U1-A M16U1_V240425 POST Parameter /cgi-bin/wireless.cgi sub_407504 Guest_ssid stack-based overflow] |
|---|
| Points | 20 |
|---|