Skip to main content
Vulnerability Database/CVE-2026-111711

CVE-2026-111711: Netcore NR256CN Buffer Overflow Vulnerability

CVE-2026-111711 is a pre-authentication buffer overflow flaw in Netcore NR256CN routers that allows attackers to crash the Boa web server or execute arbitrary code. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111711 Overview

CVE-2026-111711 is a pre-authentication stack overflow vulnerability affecting Netcore NR256CN routers through firmware version 1.5.140116. The flaw resides in the Boa web server's user_ok() function, which processes HTTP Basic authentication credentials. The function uses unbounded strcpy() calls to copy usernames into fixed 64-byte stack buffers without validating input length. Unauthenticated remote attackers can send a crafted username exceeding 63 bytes to any protected /router/*.cgi endpoint, corrupting the stack frame of the main Boa process. Successful exploitation crashes the web server or can lead to arbitrary code execution on the device.

Critical Impact

Unauthenticated remote attackers can crash the Boa web server or potentially execute code on affected Netcore NR256CN routers by sending an oversized Basic-auth username to any protected CGI route.

Affected Products

  • Netcore NR256CN router (firmware versions through 1.5.140116)
  • Boa web server component shipped with the device firmware
  • Any /router/*.cgi endpoint protected by HTTP Basic authentication

Discovery Timeline

  • 2026-10-16 - CVE-2026-111711 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111711

Vulnerability Analysis

The vulnerability is a classic stack-based buffer overflow classified under [CWE-121]. It resides in the user_ok() function of the Boa web server embedded in Netcore NR256CN firmware. When a client issues an HTTP request with an Authorization: Basic header, Boa decodes the base64-encoded credentials and separates the username from the password. The username portion is then copied into a 64-byte stack buffer using strcpy(), which terminates only on a null byte and performs no length validation.

An attacker who supplies a username longer than 63 characters overwrites adjacent stack memory, including saved registers and the return address of the function. Because the vulnerable code path executes before authentication succeeds, no valid credentials are required. The attack reaches the overflow by targeting any CGI handler under /router/ that invokes Basic-auth parsing.

Root Cause

The root cause is the use of strcpy() without bounds checking against a fixed 64-byte stack buffer in user_ok(). The function trusts attacker-controlled input decoded from the HTTP Authorization header. Safer alternatives such as strncpy() or strlcpy() with explicit length limits were not used.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker sends a single HTTP request to any protected /router/*.cgi route with a crafted Authorization: Basic header. The header contains a base64-encoded username longer than 63 bytes followed by a colon and any password. Boa decodes the payload, triggers the overflow in user_ok(), and either crashes the main process or diverts execution flow. See the GitHub Stack Overflow Analysis and the VulnCheck Security Advisory for technical details.

Detection Methods for CVE-2026-111711

Indicators of Compromise

  • HTTP requests to /router/*.cgi paths containing Authorization: Basic headers with abnormally long base64-encoded payloads.
  • Repeated crashes or unexpected restarts of the Boa web server process on NR256CN devices.
  • Loss of management interface availability followed by device reboot cycles in router logs.

Detection Strategies

  • Inspect inbound HTTP traffic for Basic-auth headers whose decoded username field exceeds 63 bytes.
  • Alert on malformed or oversized Authorization headers directed at embedded router management interfaces.
  • Correlate web server crash signatures with preceding requests to /router/ CGI endpoints to identify exploitation attempts.

Monitoring Recommendations

  • Enable syslog forwarding from affected routers to a centralized collector for process-crash visibility.
  • Monitor network segments hosting NR256CN devices for unsolicited inbound requests to management ports.
  • Track EPSS and vendor advisory updates for changes in exploitation likelihood for CVE-2026-111711.

How to Mitigate CVE-2026-111711

Immediate Actions Required

  • Remove NR256CN router management interfaces from the public internet and restrict access to trusted administrative networks only.
  • Place affected devices behind a network firewall or ACL that blocks inbound HTTP and HTTPS to the Boa server from untrusted sources.
  • Audit existing deployments to identify all NR256CN units running firmware at or below 1.5.140116.

Patch Information

As of the NVD publication date (2026-10-16), no vendor patch has been documented in the referenced advisories. Monitor the VulnCheck Security Advisory for firmware update availability from Netcore.

Workarounds

  • Disable remote WAN-side management of the router web interface where supported by the device configuration.
  • Enforce source-IP allowlists on the LAN-side management interface to limit exposure to administrator workstations.
  • Consider replacing end-of-support NR256CN hardware with vendor-supported devices if no firmware fix is released.
bash
# Example upstream firewall rule to block external access to the router management interface
iptables -A FORWARD -p tcp -d <router_ip> --dport 80 -s <trusted_admin_subnet> -j ACCEPT
iptables -A FORWARD -p tcp -d <router_ip> --dport 80 -j DROP
iptables -A FORWARD -p tcp -d <router_ip> --dport 443 -s <trusted_admin_subnet> -j ACCEPT
iptables -A FORWARD -p tcp -d <router_ip> --dport 443 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.