Submeter #877482: Comfast CF-N1-S V2.6.0.1 Command Injectioninformação

TítuloComfast CF-N1-S V2.6.0.1 Command Injection
DescriçãoCVE ID: [Reserved] Title: Command Injection in COMFAST CF-N1-S Router Firmware V2.6.0.1 Description: A command injection vulnerability exists in the sub_44B438() function of the /cgi-bin/mbox-config CGI interface in COMFAST CF-N1-S router firmware version V2.6.0.1 (released 2024-03-01). The vulnerability is triggered via the ptest_ssid configuration section when the HTTP request method is set to SET. The root cause is that user-supplied input from the HTTP POST request body (specifically the ssid JSON field) is concatenated into a command string using sprintf() at line 20, and subsequently executed via execl() at line 23 without proper sanitization or validation. This allows an authenticated attacker to inject arbitrary operating system commands. Affected Product / Version: Vendor: COMFAST Product: CF-N1-S (Wireless Router / AP / CPE) Firmware Version: V2.6.0.1 Release Date: 2024-03-01 Attack Vector: Network Authentication: Required (admin panel access) Vulnerable Endpoint: POST /cgi-bin/mbox-config?method=SET&section=ptest_ssid HTTP/1.1 Host: [target] Content-Type: application/json Cookie: COMFAST_SESSIONID=[valid_session] Content-Length: 31 {"ssid":" touch 888.txt"} Impact: Successful exploitation allows a remote authenticated attacker to execute arbitrary commands with root privileges on the underlying operating system, leading to complete device compromise, unauthorized access to sensitive data, and potential lateral movement within the network. Steps to Reproduce: Access the COMFAST CF-N1-S V2.6.0.1 web administration interface. Authenticate with valid credentials (default: admin/admin). Intercept the request to /cgi-bin/mbox-config?method=SET&section=ptest_ssid using Burp Suite or similar proxy tool. Modify the POST request body to inject an OS command into the ssid parameter, e.g., {"ssid":" touch 888.txt"}. Observe that the command is executed on the device, creating the file /888.txt (or equivalent payload effect) in the root filesystem.
Fonte⚠️ https://github.com/1ChaoRen1/IOT_1
Utilizador
 ChaoRenChaoJiWuDi (UID 99392)
Submissão02/07/2026 04h56 (há 2 meses)
Moderação17/08/2026 18h46 (2 months later)
EstadoAceite
Entrada VulDB391346 [COMFAST CF-N1-S 2.6.0.1 CGI Interface mbox-config?method=SET§ion=ptest_ssid sub_44B438 Elevação de Privilégios]
Pontos20

Want to know what is going to be exploited?

We predict KEV entries!