Wavlink WL-WN579X3-C Stack-Based Buffer Overflow Vulnerability in Firewall CGI

Vulnerability

A stack-based buffer overflow vulnerability has been identified in the Wavlink WL-WN579X3-C router, specifically in version 231124. The issue arises in the function sub_40139C within the file /cgi-bin/firewall.cgi. The vulnerability can be exploited remotely by manipulating the del_flag argument, leading to unauthorized memory access and potential code execution.

Impact

Exploitation of this vulnerability causes a stack-based buffer overflow, which can allow for arbitrary code execution on the device.

Reproduction

The vulnerability can be reproduced by sending a POST request to /cgi-bin/firewall.cgi with the firewall parameter set to singlePortForwardDelete. The del_flag parameter must be filled with a payload that exceeds the buffer size, causing a stack-based overflow.

Remediation

Users are advised to upgrade to Wavlink WL-WN579X3-C version 20260226, which addresses this vulnerability.

Added: Mar 8, 2026, 7:18 AM
Updated: Mar 8, 2026, 7:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
8.7
remediation
0.0
relevance
3.8
threat
6.4
urgency
2.9
incentive
4.2

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