Wavlink AC3000 Buffer Overflow Vulnerability in qos.cgi Component

Vulnerability

A buffer overflow vulnerability has been identified in the Wavlink AC3000 router, specifically within the qos.cgi file's qos_sta_settings() function. This vulnerability allows for a stack-based buffer overflow, which can be triggered by an authenticated user sending a specially crafted HTTP request. The issue arises because the function does not properly validate the length of input data before processing it, enabling attackers to overwrite the return address and potentially execute arbitrary code.

Impact

Exploitation of this vulnerability leads to a stack-based buffer overflow, allowing for arbitrary code execution on the affected device.

Reproduction

To reproduce this vulnerability, an authenticated user must send an HTTP POST request to the router's qos.cgi file, specifying the page parameter as 'qos_sta'. The request must include crafted cli_list and cli_num parameters that are each 0x818 bytes long. This input will overflow a buffer in the qos_sta_settings() function, overwrite the return address, and execute arbitrary code.

Remediation

Wavlink has acknowledged the vulnerability and is reportedly working on a patch, although no specific release date has been provided.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
7.5
exploitability
6.2
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.