Wavlink AC3000 Buffer Overflow Vulnerability in adm.cgi set_wzap() Functionality

Vulnerability

A buffer overflow vulnerability has been identified in the Wavlink AC3000 router, specifically in the adm.cgi set_wzap() function. This vulnerability allows for a stack-based buffer overflow, which can be triggered by a specially crafted HTTP request. The issue affects Wavlink AC3000 routers running version M33A8.V5030.210505. An authenticated user can exploit this vulnerability by sending an HTTP request that takes advantage of the lack of input length validation.

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 adm.cgi binary with the 'page' parameter set to 'wzdap'. The request must include a 'wlan_ssid2g' parameter with a value longer than 0x90 bytes. This oversized input will overwrite the return address of the set_wzap() function, causing a segmentation fault and potentially allowing for arbitrary code execution.

Remediation

Wavlink has acknowledged the vulnerability and is 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.