| عنوان | 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 |
|---|