Linksys E7350 Command Injection Vulnerability in WPS PIN Management Function

Vulnerability

A command injection vulnerability has been identified in the Linksys E7350 router, specifically in firmware version 1.1.00.032. The issue arises in the 'apcli_do_enr_pin_wps' function within the '/usr/lib/lua/luci/controller/mtkwifi.lua' file. The vulnerability is triggered through the 'ifname' parameter, allowing injected commands to be executed on the device.

Impact

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

Reproduction

The vulnerability can be reproduced by sending a GET request to the '/cgi-bin/luci/admin/mtk/wifi/apcli_do_enr_pin_wps/' endpoint. The 'ifname' parameter can be injected with a command, such as 'ls>123.txt', which will be executed on the device. After the injection, the executed command's result can be verified, indicating successful exploitation.

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

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
4.8
remediation
0.0
relevance
0.0
threat
6.5
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.