| शीर्षक | Comfast CF-N1-S V2.6.0.1 Command Injection |
|---|
| विवरण | A command injection vulnerability (sub_41AD7C) exists in the /cgi-bin/mbox-config interface of the COMFAST CF-N1-S V2 router.
Trigger conditions: An authenticated session; an HTTP POST request with method=SET, section=ntp_timezone, ntp_client_enabled=0, and containing the timestr field.
Root Cause: The `timestr` parameter is not filtered in any way and is directly concatenated into the `sprintf` format string `date -s “%s” > /dev/null`, which is then executed via `system()`. An attacker can use double quotes to close the shell injection (e.g., CST-8“;malicious_command;”) and bypass quote boundaries to execute arbitrary commands.
Impact: Arbitrary operating system commands are executed with system privileges, leading to complete compromise of the device, including the theft of Wi-Fi/PPPoE credentials, the implantation of backdoors, lateral movement, or permanent damage. |
|---|
| स्रोत | ⚠️ https://github.com/AdminSafe/CVE/issues/8 |
|---|
| उपयोगकर्ता | 010hex (UID 99386) |
|---|
| सबमिशन | 06/07/2026 10:15 AM (2 महीनों पहले) |
|---|
| संयम | 21/08/2026 07:31 AM (2 months later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 394033 [Comfast CF-N1-S 2.6.0.1 mbox-config?method=SET§ion=ntp_timezone system timestr अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|