Skip to main content

Magic B1 CVE-2026-6581

| EUVDEUVD-2026-23716 HIGH
Classic Buffer Overflow (CWE-120)
2026-04-19 VulDB GHSA-wg8p-6252-5cpj
7.4
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reconnaissance via internet scanning
  2. Delivery
    Authenticate with compromised/default credentials
  3. Exploit
    Send crafted POST to /goform/aspForm
  4. Install
    Trigger buffer overflow in SetMobileAPInfoById
  5. C2
    Execute arbitrary code as root
  6. Execute
    Install persistent backdoor
  7. Impact
    Intercept 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Apr 19, 2026 - 22:50 CVSS 8.8

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

Magic B1 100R004

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

Vendor (VulDB) PRIMARY 7.4 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
PoC Detected
Apr 22, 2026 - 20:22 vuln.today
Public exploit code
Analysis Updated
Apr 19, 2026 - 23:27 vuln.today
v2 - CVSS changed
CVSS changed
Apr 19, 2026 - 23:22 NVD
8.8 (HIGH) 7.4 (HIGH)
CVE Published
Apr 19, 2026 - 22:30 nvd
HIGH 7.4

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 88% exploitable
Exploit
POC
Public exploit code exists
Social Media
3
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy