Wavlink NU516U1 Command Injection Vulnerability in Firewall CGI

Vulnerability

A command injection vulnerability has been identified in the Wavlink NU516U1 router, specifically in the M16U1_V240425 version. The issue arises in the 'sub_401B30' function of the '/cgi-bin/firewall.cgi' file, where the 'remoteManagementEnabled' parameter is manipulated, allowing for remote command execution. This vulnerability is publicly exploitable, with an exploit available.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the affected device.

Reproduction

To reproduce this vulnerability, send a POST request to '/cgi-bin/firewall.cgi' with the 'firewall' parameter set to 'websSysFirewall'. Include the 'remoteManagementEnabled' parameter with a payload that, when executed, writes to a file on the device, such as a command to list directory contents.

Added: Sep 25, 2025, 8:24 PM
Updated: Sep 25, 2025, 8:24 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
0.6
threat
6.4
urgency
2.9
incentive
5.0

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