Comfast CF-N1 Command Injection Vulnerability in Web Management Interface

Vulnerability

A command injection vulnerability has been identified in the Comfast CF-N1 V2 router, specifically in the web management interface's multi_pppoe function, within firmware version 2.6.0. This vulnerability allows remote attackers to inject arbitrary commands through the phy_interface parameter when the one_click_redial action is used. The injected commands are executed with system privileges, potentially leading to unauthorized access, execution of malicious commands, or full compromise of the device.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the device, with the potential to read sensitive files or gain full control over the router.

Reproduction

To reproduce this vulnerability, send a POST request to the '/cgi-bin/mbox-config?method=SET&section=multi_pppoe' endpoint. Include the 'action' parameter set to 'one_click_redial' and manipulate the 'phy_interface' parameter to inject a command, using command chaining operators like '&&' to append additional commands. Once the request is processed, the injected command will be executed on the device.

Added: Aug 28, 2025, 7:17 PM
Updated: Aug 28, 2025, 8:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
0.4
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.