Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privileged management credentials
-
DeliveryAccess web management interface over HTTP
-
ExploitCraft oversized NTP timezone parameter payload
-
InstallSend POST to /cgi-bin/mbox-config?method=SET§ion=ntp_timezone
-
C2Overflow stack buffer in sub_41AD7C
-
ExecuteOverwrite return address
-
ImpactExecute arbitrary code on device
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
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 network access to the Comfast CF-N1-S web management interface and a low-privileged authenticated session, as indicated by PR:L in the CVSS 4.0 vector. The specific trigger is sending an oversized value for the timestr or ntp_client_enabled parameters to the /cgi-bin/mbox-config?method=SET§ion=ntp_timezone CGI endpoint. No non-default device configuration is required beyond the management interface being reachable from the attacker's network position. What limits exploitation is the low-privilege authentication requirement - attackers must hold valid credentials; however, consumer and SMB networking devices commonly ship with default or easily guessable credentials, which may effectively eliminate this barrier. No user interaction is required (UI:N) once authenticated access is established. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity vulnerability requiring only low-privileged access - a combination that significantly lowers the practical exploitation barrier. The E:P supplemental metric confirms public exploit code exists on GitHub. The VC/VI/VA and SC/SI/SA metrics are all rated High, signaling potential for complete device takeover with cascading impact on the network the device routes or manages, making this a real operational priority wherever these devices are deployed. No CISA KEV listing was identified, so active exploitation is not confirmed at time of analysis; however, the public POC substantially raises the likelihood of opportunistic attacks. No EPSS data was provided, preventing quantitative probability comparison. The CPE wildcard version field introduces uncertainty about how many firmware releases are affected beyond 2.6.0.1. The primary real-world limiting factor is the PR:L requirement - attackers must hold valid low-privileged credentials - though consumer networking devices frequently ship with default or easily guessable credentials, which may effectively eliminate this barrier in practice. |
| Exploit ScenarioDerived | An attacker who has obtained low-privileged credentials to the Comfast CF-N1-S web management interface - potentially via default credentials or credential stuffing - sends a crafted HTTP request to /cgi-bin/mbox-config?method=SET§ion=ntp_timezone with an oversized timestr or ntp_client_enabled parameter value. This overflows the stack buffer in function sub_41AD7C, enabling the attacker to overwrite the saved return address and redirect execution to attacker-controlled code, achieving remote code execution on the device. A public proof-of-concept is available on GitHub (https://github.com/AdminSafe/CVE/issues/9), substantially reducing the technical skill required to carry out this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 23, 2026
Stack-based buffer overflow in the Comfast CF-N1-S 2.6.0.1 web management interface enables remote code execution via the NTP timezone configuration CGI endpoint. The vulnerable function sub_41AD7C in /cgi-bin/mbox-config?method=SET§ion=ntp_timezone fails to validate the length of the timestr and ntp_client_enabled parameters before copying them to the stack. A publicly available proof-of-concept exploit exists, and the CVSS 4.0 score of 8.6 reflects high impact across both the vulnerable device and connected network infrastructure.
Earlier versions of this analysis (1)
Stack-based buffer overflow in the Comfast CF-N1-S wireless device (firmware 2.6.0.1) lets a remote, low-privileged attacker overwrite the stack via the web management interface and gain control of the device. The flaw sits in function sub_41AD7C handling the ntp_timezone SET action of /cgi-bin/mbox-config, reached by manipulating the timestr/ntp_client_enabled parameters. Publicly available exploit code exists (VulDB), and the CVSS 4.0 base score is 9.4, though exploitation requires prior authentication (PR:L).
RemediationAI
No vendor-released patch has been identified at time of analysis for CVE-2026-78050. As the primary compensating control, administrators should restrict network access to the Comfast CF-N1-S web management interface (typically TCP port 80 and/or 443) to trusted management hosts or VLANs using firewall ACLs, preventing unauthorized users from reaching the CGI endpoint - note that this trades off remote administration capability. If remote management is not operationally required, disable the web management interface entirely where the firmware permits. Enforce strong, unique, non-default credentials on the management interface to raise the bar for the required low-privilege authentication step. Monitor HTTP access logs for anomalous POST requests targeting /cgi-bin/mbox-config with section=ntp_timezone. The public proof-of-concept is available at https://github.com/AdminSafe/CVE/issues/9 and the VulDB advisory at https://vuldb.com/vuln/394291.
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
Comfast CF-N1-S is a consumer and SMB wireless networking device exposing a CGI-based web management interface over HTTP. The affected endpoint /cgi-bin/mbox-config?method=SET§ion=ntp_timezone handles NTP (Network Time Protocol) client configuration. The vulnerable C function sub_41AD7C performs an unsafe copy of user-supplied input for the timestr and ntp_client_enabled parameters into a fixed-size stack buffer without bounds checking, constituting a CWE-121 (Stack-Based Buffer Overflow). This class of flaw typically allows attackers to overwrite saved return addresses or adjacent stack data, redirecting execution flow to attacker-controlled shellcode or ROP chains. The CPE identifier cpe:2.3:a:comfast:cf-n1-s:*:*:*:*:*:*:*:* uses a version wildcard, indicating the full scope of affected firmware versions has not been precisely bounded by the reporter.
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:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Network-accessible CGI endpoint with low-privilege authentication (PR:L); scope change (S:C) reflects device's role as network infrastructure with cascading impact on downstream systems.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found in Comfast CF-N1-S 2.6.0.1. The affected element is the function sub_41AD7C of the file /cgi-bin/mbox-config?method=SET§ion=ntp_timezone of the component Web Management. The manipulation of the argument timestr/ntp_client_enabled results in stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been made public and could be used.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Comfast CF-N1-S 2.6.0.1 routers deployed in enterprise networks are vulnerable to unauthenticated remote code execution through the NTP timezone configuration endpoint, with publicly available exploit code enabling attackers to assume complete device control. Organizations using this model risk immediate network compromise, providing attackers a foothold for lateral movement into production systems and data exfiltration.
No vendor-released patch identified at time of analysis. Interim controls: restrict web interface access via firewall rules limiting connections to specific administrative IP addresses; implement network segmentation to contain device to non-critical network segments; deploy passive network monitoring on the device segment to detect suspicious NTP timezone configuration requests; maintain current asset inventory identifying all CF-N1-S locations to enable rapid response if active exploitation is detected.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
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 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 COMFAST CF-N1-S firmware 2.6.0.1 allows remote authenticated attackers to execute arbitrary OS comm
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-64604
GHSA-j397-vxh8-xhw3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB