Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via phishing or credential reuse
-
DeliveryReach device web management interface
-
ExploitSend crafted POST to /cgi-bin/mbox-config with injected macaddress value
-
Executionsub_44A968 passes unsanitized input to system call
-
ImpactArbitrary OS command executed on device
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires valid administrative credentials to the COMFAST CF-N1-S web management interface (PR:H per CVSS 4.0 vector). The attacker must be able to reach the /cgi-bin/mbox-config CGI endpoint over the network (AV:N). No special non-default configuration is required beyond having admin access - the ptest_macaddress section is part of the standard CGI interface. Limiting factors: the PR:H requirement means an attacker without existing admin credentials cannot exploit this without a separate credential-theft step; the device management interface is typically not exposed to the public internet in properly segmented networks, which substantially limits internet-scale exploitation. The attack does not require user interaction. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) reflects authenticated access (PR:H) as a significant barrier to exploitation, which meaningfully constrains the real-world attack surface compared to unauthenticated variants. The EPSS score is not provided in the available data, which is a gap in the signal picture. No KEV listing exists, so active exploitation is not confirmed by CISA. However, a public PoC (E:P in the CVSS 4.0 vector) is present, lowering the skill bar for any attacker who already holds admin credentials. The confidentiality, integrity, and availability impacts are rated Low across both vulnerable-system and subsequent-system metrics, suggesting partial rather than full device compromise - though command injection on embedded firmware can realistically achieve full root access depending on the runtime context, so this rating may understate actual impact. Even a mid-sized municipal IT team in kalisz operating COMFAST devices on their network perimeter should treat any authenticated command injection on a device with no vendor patch as a replacement priority, not just a configuration task. The vendor's non-response to disclosure removes any confidence in a future patch and is a material risk factor. |
| Exploit ScenarioDerived | An attacker with valid administrative credentials to the COMFAST CF-N1-S web interface sends a crafted HTTP request to /cgi-bin/mbox-config?method=SET§ion=ptest_macaddress with a macaddress parameter containing injected shell metacharacters (e.g., ; command ;). The firmware's sub_44A968 function passes this unsanitized value to a system call, executing the injected command in the device's runtime context. A public PDF PoC demonstrating this technique is available on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Command injection in COMFAST CF-N1-S firmware 2.6.0.1 allows remote authenticated attackers to execute arbitrary OS commands via the macaddress parameter of the /cgi-bin/mbox-config CGI endpoint. The vulnerable function sub_44A968 fails to sanitize input passed through the ptest_macaddress section before passing it to a system-level command. A public proof-of-concept has been disclosed (GitHub PDF), and the vendor did not respond to responsible disclosure.
RemediationAI
No vendor-released patch has been identified at time of analysis, and the vendor did not respond to the responsible disclosure. The primary recommendation is to replace or retire COMFAST CF-N1-S 2.6.0.1 devices if operational requirements allow, given the absence of a vendor response. As compensating controls: restrict access to the device's web management interface to trusted management VLANs or hosts only (firewall rules blocking external access to the CGI endpoint), enforce strong unique admin credentials to raise the PR:H bar for attackers, and disable the ptest_macaddress functionality if the device firmware allows granular feature disablement - though this is unlikely in SOHO firmware. Monitoring CGI access logs for anomalous macaddress parameter values containing shell metacharacters (semicolons, pipes, backticks) can serve as a detection control. Note that restricting web UI access may impact legitimate remote management workflows. See https://vuldb.com/vuln/391155 for tracker updates on patch availability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is COMFAST CF-N1-S firmware version 2.6.0.1, a consumer/SOHO wireless networking device. The vulnerability is rooted in CWE-77 (Improper Neutralization of Special Elements in a Command), meaning user-supplied data is concatenated into a shell command without sanitization. The specific entry point is the CGI handler at /cgi-bin/mbox-config with query parameters method=SET and section=ptest_macaddress; the macaddress argument is passed unsanitized to the internal C function sub_44A968, which invokes a system call. This pattern - web-based CGI endpoints on embedded firmware passing form parameters directly to shell commands - is endemic to low-cost IoT/router devices. CPE: cpe:2.3:a:comfast:cf-n1-s:*:*:*:*:*:*:*:*
Know when Cf N1 S gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
Network-reachable CGI endpoint (AV:N, AC:L) but requires admin credentials (PR:H); impacts are partial across C/I/A consistent with command injection on embedded firmware without confirmed full root.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security vulnerability has been detected in COMFAST CF-N1-S 2.6.0.1. Impacted is the function sub_44A968 of the file /cgi-bin/mbox-config?method=SET§ion=ptest_macaddress. Such manipulation of the argument macaddress leads to command injection. The attack may be launched remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An unauthenticated stack-based buffer overflow in the web management interface of the Comfast CF-N1-S (firmware 2.6.0.1)
Remote command injection in Comfast CF-N1-S firmware 2.6.0.1 allows a low-privilege authenticated attacker to execute ar
Stack-based buffer overflow in the Comfast CF-N1-S 2.6.0.1 web management interface enables remote code execution via th
Stack-based buffer overflow in the Comfast CF-N1-S firmware version 2.6.0.1 allows remote attackers with low-privilege w
Stack-based buffer overflow in Comfast CF-N1-S firmware 2.6.0.1 allows authenticated remote attackers to execute arbitra
Remote unauthenticated stack-based buffer overflow in the Comfast CF-N1-S wireless device (firmware 2.6.0.1) lets attack
Command injection in the Comfast CF-N1-S firmware 2.6.0.1 CGI management interface allows remote low-privileged attacker
Command injection in the Comfast CF-N1-S router version 2.6.0.1 allows an authenticated remote attacker to execute arbit
EUVD-2026-60036
GHSA-24vp-g788-qg25
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB