Security Vulnerability Report
中文
CVE-2025-64695 CVSS 7.8 HIGH

CVE-2025-64695

Published: 2025-11-21 07:15:55
Last Modified: 2025-12-02 17:45:38

Description

Uncontrolled search path element issue exists in the installer of LogStare Collector (for Windows). If exploited, arbitrary code may be executed with the privilege of the user invoking the installer.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:secuavail:logstare_collector:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
LogStare Collector Windows版 < 厂商发布的安全更新版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-64695 PoC - Malicious DLL Generator for LogStare Collector Installer DLL Hijacking # This PoC demonstrates the DLL hijacking vulnerability in LogStare Collector installer # Author: Security Researcher # Note: This code is for educational and authorized testing purposes only import struct import os def create_malicious_dll(): """ Generate a malicious DLL that will be loaded by the vulnerable installer. The DLL exports the same functions as a legitimate DLL to maintain compatibility. """ # DLL content - simplified representation dll_content = b'MZ' + b'\x90' * 58 + struct.pack('<I', 0x00000080) # PE signature placeholder # In a real attack scenario, this would be a compiled DLL with: # 1. Malicious code in DllMain that executes on load # 2. Export forwarding for all required functions # 3. Code to call the legitimate DLL functions after execution print("[*] PoC for CVE-2025-64695: LogStare Collector Installer DLL Hijacking") print("[+] This PoC demonstrates the uncontrolled search path vulnerability") print("[+] In a real attack:") print(" 1. Attacker creates a malicious DLL with payload") print(" 2. Places it in a directory that the installer searches") print(" 3. Lures victim to download and run the modified installer") print(" 4. Malicious DLL is loaded and code executes with user privileges") print("\n[+] Required DLL exports depend on the specific DLL being hijacked") print("[+] Common targets: kernel32.dll, user32.dll, ntdll.dll replacements") print("[+] The installer will load the malicious DLL instead of the legitimate one") return dll_content def simulate_attack(): """ Simulate the attack chain for demonstration purposes. """ attack_steps = [ "Step 1: Attacker identifies vulnerable DLL loading mechanism in installer", "Step 2: Attacker creates malicious DLL with desired payload", "Step 3: Attacker places DLL in installer search path (e.g., same directory)", "Step 4: Attacker creates modified installer package or phishing page", "Step 5: Victim downloads and executes the installer", "Step 6: Installer loads malicious DLL from search path", "Step 7: Malicious code executes with user privileges" ] print("\n[*] Simulated Attack Chain:") for step in attack_steps: print(f" {step}") if __name__ == "__main__": create_malicious_dll() simulate_attack() print("\n[!] Disclaimer: This PoC is for authorized security testing only")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64695", "sourceIdentifier": "[email protected]", "published": "2025-11-21T07:15:55.110", "lastModified": "2025-12-02T17:45:38.433", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Uncontrolled search path element issue exists in the installer of LogStare Collector (for Windows). If exploited, arbitrary code may be executed with the privilege of the user invoking the installer."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/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": 8.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "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"}}], "cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-427"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:secuavail:logstare_collector:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.4.2", "matchCriteriaId": "074556F9-0A35-4E1F-AF34-ADC3A9503B75"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://jvn.jp/en/jp/JVN77560819/", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.logstare.com/vulnerability/2025-001/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}