CVE-2026-2535

6.3 MEDIUM

📋 TL;DR

This CVE describes a command injection vulnerability in Comfast CF-N1 V2 routers version 2.6.0.2. Attackers can remotely execute arbitrary commands by manipulating the 'channel' parameter in the mbox-config CGI endpoint. This affects all users of the vulnerable router version who have the web interface exposed.

💻 Affected Systems

Products:
  • Comfast CF-N1 V2
Versions: 2.6.0.2
Operating Systems: Embedded Linux (router firmware)
Default Config Vulnerable: ⚠️ Yes
Notes: The web interface is typically enabled by default. No special configuration required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete router compromise allowing attackers to install persistent backdoors, intercept network traffic, pivot to internal networks, or brick the device.

🟠

Likely Case

Router takeover leading to DNS hijacking, credential theft from connected devices, or participation in botnets.

🟢

If Mitigated

Limited impact if the router's web interface is not internet-facing and network segmentation prevents lateral movement.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and public exploits exist.
🏢 Internal Only: MEDIUM - Still exploitable from internal networks but requires initial network access.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Public GitHub repository contains exploit details. No authentication required for exploitation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Vendor did not respond to disclosure. Consider replacing affected hardware.

🔧 Temporary Workarounds

Disable Web Interface

all

Disable the router's web management interface if not needed

Router-specific - check admin interface for web management toggle

Network Segmentation

all

Isolate router management interface to separate VLAN

🧯 If You Can't Patch

  • Replace affected routers with different models from responsive vendors
  • Implement strict firewall rules blocking external access to router management interfaces (ports 80/443)

🔍 How to Verify

Check if Vulnerable:

Check router web interface for version 2.6.0.2. Test with curl: curl -X POST 'http://router-ip/cgi-bin/mbox-config?method=SET&section=ptest_channel&channel=test;id'

Check Version:

Login to router web interface and check firmware version in system status

Verify Fix Applied:

No fix available to verify. If router replaced, verify new model and firmware version.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /cgi-bin/mbox-config with shell metacharacters in parameters
  • Router logs showing command execution

Network Indicators:

  • External IPs accessing router management interface
  • Unusual outbound connections from router

SIEM Query:

source="router.log" AND (uri="/cgi-bin/mbox-config" AND (param="channel" AND value MATCHES "[;|&$()]"))

🔗 References

📤 Share & Export