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

CVE-2026-113802: Wavlink WL-WN530BE1-A RCE Vulnerability

CVE-2026-113802 is a command injection flaw in Wavlink WL-WN530BE1-A firmware allowing unauthenticated attackers to execute commands as root by bypassing login via forged headers. This article covers technical details, affected versions, impact, and mitigation strategies.

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-113802 Overview

CVE-2026-113802 is an operating system command injection vulnerability in the Wavlink WL-WN530BE1-A router firmware through version M30BE1_V251117. The flaw resides in the sub_23B54 function of the ioos binary, which passes the unsanitized file_id parameter from /protocol.csp?opt=ovpn_file requests with type=del directly to popen(). A remote attacker can forge an IP-FROM: 127.0.0.1 header to bypass authentication and execute arbitrary commands as root. The vulnerability is tracked under CWE-78 (Improper Neutralization of Special Elements used in an OS Command).

Critical Impact

Unauthenticated remote attackers can achieve root-level command execution on affected Wavlink devices by bypassing login via a spoofed localhost header.

Affected Products

  • Wavlink WL-WN530BE1-A router
  • Firmware versions through M30BE1_V251117
  • Devices exposing the ioos web management service

Discovery Timeline

  • 2026-10-20 - CVE-2026-113802 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-113802

Vulnerability Analysis

The vulnerability resides in the sub_23B54 function within the ioos binary, which handles OpenVPN configuration file operations exposed through the /protocol.csp endpoint. When the endpoint receives a request with opt=ovpn_file and type=del, the handler reads the file_id parameter from the request body and passes it directly into a popen() call without input validation or shell metacharacter escaping. Any shell metacharacters supplied in file_id are interpreted by the underlying shell, producing arbitrary command execution.

Compounding the injection flaw, the web service trusts a client-supplied IP-FROM HTTP header to determine request origin. By setting IP-FROM: 127.0.0.1, a remote attacker is treated as a local administrative request and bypasses authentication checks entirely. The combination of a trusted header and an unsanitized shell parameter converts a routine file deletion handler into an unauthenticated root remote code execution primitive.

Root Cause

The root cause is dual: improper neutralization of special elements passed to popen() and improper trust of a client-controlled HTTP header for authentication state. The ioos binary neither sanitizes file_id nor validates that IP-FROM originates from the local loopback interface rather than from an attacker-controlled request header.

Attack Vector

Exploitation requires only network reachability to the device's management interface. An attacker sends a crafted HTTP POST to /protocol.csp?opt=ovpn_file containing type=del, an IP-FROM: 127.0.0.1 header to bypass authentication, and a file_id value containing shell metacharacters such as backticks, semicolons, or command substitution syntax. The injected command executes with root privileges, granting full device control, persistence, and pivoting into the internal network.

Technical details and proof-of-concept information are documented in the GitHub CVE write-up and the VulnCheck advisory.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-113802

Indicators of Compromise

  • HTTP requests to /protocol.csp containing opt=ovpn_file and type=del parameters from external sources.
  • Inbound requests carrying an IP-FROM: 127.0.0.1 header that did not originate on the loopback interface.
  • file_id parameter values containing shell metacharacters such as ;, |, &, backticks, or $().
  • Unexpected child processes of the ioos binary, including shells, wget, curl, tftp, or nc.

Detection Strategies

  • Inspect router and upstream proxy logs for POST requests to /protocol.csp?opt=ovpn_file originating from untrusted network segments.
  • Build network intrusion detection signatures that match the IP-FROM: header when the source IP is not loopback.
  • Correlate outbound connections from the device to attacker infrastructure immediately following suspicious /protocol.csp requests.

Monitoring Recommendations

  • Capture full HTTP request bodies at the network perimeter where devices expose management interfaces.
  • Alert on new outbound connections from Wavlink devices to unknown IP addresses or non-standard ports.
  • Monitor DNS queries from router management IPs for anomalous lookups indicative of post-exploitation tooling.

How to Mitigate CVE-2026-113802

Immediate Actions Required

  • Restrict access to the device management interface to trusted internal networks only, blocking WAN-side exposure.
  • Place affected Wavlink devices behind a firewall that filters inbound traffic to the HTTP management port.
  • Strip or reject any inbound HTTP request containing an IP-FROM header at upstream proxies and load balancers.
  • Audit device logs for prior exploitation attempts and reset credentials if compromise is suspected.

Patch Information

At the time of publication, no vendor patch is referenced in the NVD entry for Wavlink WL-WN530BE1-A firmware M30BE1_V251117. Administrators should monitor the Wavlink support site and the VulnCheck advisory for firmware updates and apply them as soon as they become available.

Workarounds

  • Disable remote (WAN) administration on the device and permit management only from a dedicated administrative VLAN.
  • Deploy a reverse proxy or web application firewall rule that drops requests to /protocol.csp containing type=del from external sources.
  • Segregate affected devices into isolated network zones to limit lateral movement if exploitation occurs.
  • Consider replacing the device with a supported model if the vendor does not release a timely firmware fix.
bash
# Example iptables rule to block external access to the device management port
iptables -A INPUT -i wan0 -p tcp --dport 80 -j DROP
iptables -A INPUT -i wan0 -p tcp --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.