Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReconnaissance via internet scanning
-
DeliveryAuthenticate with compromised/default credentials
-
ExploitSend crafted POST to /goform/aspForm
-
InstallTrigger buffer overflow in SetMobileAPInfoById
-
C2Execute arbitrary code as root
-
ExecuteInstall persistent backdoor
-
ImpactIntercept network traffic or pivot to LAN
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
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 | Requires low-privileged authentication (PR:L from CVSS vector) to the H3C Magic B1 web management interface - attacker must possess valid router login credentials before exploitation. No special configuration changes or non-default features required; the vulnerable /goform/aspForm endpoint is part of standard firmware functionality for mobile AP configuration in version 100R004 and earlier. Attack is remotely executable over network (AV:N) if management interface is accessible from attacker's position (common in consumer routers with default settings exposing admin panels to WAN). No user interaction needed (UI:N) once authenticated. Key limiting factor is the authentication requirement, though this barrier is frequently overcome via default credentials (admin/admin patterns common in H3C devices), previously compromised passwords, or brute force against weak passphrases. Organizations that have changed default credentials and restricted management access to internal networks only significantly reduce exploitation probability. |
| Impact | Real-world risk is ELEVATED. CVSS:4.0 vector indicates network-accessible attack (AV:N) with low complexity (AC:L) requiring only low-privileged authentication (PR:L), no additional attack requirements (AT:N), and no user interaction (UI:N). Impact is severe across all CIA dimensions for the vulnerable component (VC:H/VI:H/VA:H) with no cross-scope impact. The E:P (Proof-of-concept) modifier confirms public exploit availability via GitHub (hmKunlun/H3Cc repository). CRITICAL RISK FACTOR: Vendor unresponsive to disclosure - no patch available and no anticipated remediation timeline. Router vulnerabilities with public exploits historically see rapid integration into botnet scanning infrastructure (e.g., Mirai variants). Authentication requirement (PR:L) provides minimal defense given prevalence of default/weak credentials on consumer routers and credential stuffing campaigns. SSVC assessment: Exploitation=POC, Automatable=Yes (HTTP endpoint exploitation is easily scriptable), Technical Impact=Total (router compromise), decision outcome=ACT IMMEDIATELY. The combination of public exploit, no patch, vendor silence, and network exposure makes this a priority for affected organizations despite sub-critical CVSS score. |
| Exploit ScenarioDerived | An attacker identifies H3C Magic B1 routers exposed on the internet through Shodan or Censys searches targeting characteristic HTTP response signatures. Using credentials obtained via default password lists, brute force, or credential stuffing databases, the attacker authenticates to the web management interface. They then send a crafted HTTP POST request to /goform/aspForm with an oversized 'param' value designed to overflow the buffer in SetMobileAPInfoById, overwriting return addresses or function pointers. Successful exploitation executes arbitrary shellcode with root privileges, allowing the attacker to install persistent backdoors, pivot into the connected LAN, intercept traffic via DNS hijacking, or recruit the device into a DDoS botnet. Public exploit code at https://github.com/hmKunlun/H3Cc/blob/main/h3c.md provides ready-made attack tools requiring minimal technical modification. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 19, 2026
Remote code execution in H3C Magic B1 router firmware versions up to 100R004 allows authenticated attackers to trigger a buffer overflow in the SetMobileAPInfoById function via crafted HTTP requests to /goform/aspForm. CVSS:4.0 rated 7.4 (High) with confirmed publicly available exploit code on GitHub. No vendor response or patch available. EPSS data not provided, but public exploit availability significantly elevates exploitation risk. The CWE-120 buffer overflow enables full device compromise (VC:H/VI:H/VA:H) with low attack complexity (AC:L) requiring only low-privileged authentication (PR:L).
Earlier versions of this analysis (1)
Remote code execution in H3C Magic B1 wireless routers (up to firmware 100R004) allows authenticated attackers to execute arbitrary code via buffer overflow in the SetMobileAPInfoById function. The attack exploits the /goform/aspForm endpoint by manipulating the 'param' argument, enabling complete device compromise with high confidentiality, integrity, and availability impact. Public exploit code exists on GitHub, significantly lowering the barrier to exploitation. EPSS data not available, but the combination of network vector, low complexity (AC:L), and public POC indicates elevated real-world risk. No vendor response or patch confirmed despite early disclosure.
RemediationAI
No vendor-released patch identified at time of analysis - H3C did not respond to vulnerability disclosure per VulDB report (https://vuldb.com/vuln/358216). PRIMARY MITIGATION: Isolate affected H3C Magic B1 routers from internet exposure by placing behind a hardened perimeter firewall and restrict management interface access to trusted internal networks only. SPECIFIC COMPENSATING CONTROLS: (1) Disable remote management access entirely if not operationally required - access web interface only from directly connected devices on LAN segments. (2) Implement network-based access control lists (ACLs) permitting /goform/ endpoint access exclusively from specific administrator IP addresses; note this reduces operational flexibility for remote management. (3) Deploy network intrusion detection signatures to detect exploitation attempts targeting /goform/aspForm with oversized param arguments (signature development requires analyzing the GitHub POC at https://github.com/hmKunlun/H3Cc/blob/main/h3c.md). (4) Change default administrative credentials immediately and enforce strong passphrases (16+ characters) to raise the authentication barrier, though this only delays exploitation, not prevents it. (5) RECOMMENDED: Replace H3C Magic B1 devices with alternative router models from vendors with active security support programs, as vendor unresponsiveness indicates potential end-of-life status without formal announcement. Monitor H3C security advisories and VulDB entry for any future patch releases.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the H3C Magic B1 wireless router, specifically the web management interface firmware version 100R004 and earlier (CPE: cpe:2.3:a:h3c:magic_b1:*:*:*:*:*:*:*:*). The flaw resides in the SetMobileAPInfoById function within the /goform/aspForm endpoint, which processes mobile AP configuration parameters. The vulnerability is classified as CWE-120 (Buffer Copy without Checking Size of Input), a classic memory safety issue common in embedded router firmware written in C/C++. When the 'param' argument is manipulated with oversized input, the function copies data into a fixed-size buffer without bounds checking, allowing memory corruption. The /goform/ path pattern is typical of HTTP-based configuration interfaces in consumer routers. As an embedded device vulnerability, successful exploitation grants complete control over the router's operating system and network position.
Know when Magic B1 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:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was detected in H3C Magic B1 up to 100R004. Affected by this vulnerability is the function SetMobileAPInfoById of the file /goform/aspForm. Performing a manipulation of the argument param results in buffer overflow. Remote exploitation of the attack is possible. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Executive ViewAI
CVE-2026-6581 is a high-severity remote code execution vulnerability affecting H3C Magic B1 routers (firmware up to 100R004) that allows authenticated users to completely compromise the device through a buffer overflow. With publicly available exploit code and no vendor patch available, organizations operating this equipment face immediate risk of unauthorized access, data theft, and network infiltration. This vulnerability requires urgent remediation through network isolation or device replacement.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict device management to trusted administrative networks only; (2) Disable HTTP management interface if HTTPS is available and accessible; (3) Implement network-level access controls limiting traffic to /goform/aspForm endpoints from trusted sources only; (4) Monitor device logs for suspicious HTTP POST requests to affected endpoints; (5) Consider temporary device replacement or network bypass if the router is not critical to operations, pending vendor patch release.
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.
EUVD-2026-23716
GHSA-wg8p-6252-5cpj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB