# Exploit Title: IDT PC Audio 1.0.6433.0 - 'STacSV' Unquoted Service Path
# Discovery by: Manuel Alvarez
# Software link: https://www.pconlife.com/download/otherfile/20566/e82994866a370a480607637f28b82835/
# Discovery Date: 2020-11-27
# Tested Version: 1.0.6433.0
# Vulnerability Type: Unquoted Service Path
# Tested on OS: Windows 10 x64 es

# Step to discover Unquoted Service Path:

C:\>wmic service get name, displayname, pathname, startmode | findstr /i
"Auto" |findstr /i /v "C:\Windows\\" | findstr /i /v """

Audio service     STacSV     c:\Program Files\IDT\WDM\STacSV64.exe    Auto

# Service info:

C:\>sc qc StacSV
[SC] QueryServiceConfig CORRECTO

NOMBRE_SERVICIO: StacSV
        TIPO               : 10  WIN32_OWN_PROCESS
        TIPO_INICIO        : 2   AUTO_START
        CONTROL_ERROR      : 1   NORMAL
        NOMBRE_RUTA_BINARIO: C:\Program Files\IDT\WDM\STacSV64.exe
        GRUPO_ORDEN_CARGA  : AudioGroup
        ETIQUETA           : 0
        NOMBRE_MOSTRAR     : Audio Service
        DEPENDENCIAS       :
        NOMBRE_INICIO_SERVICIO: LocalSystem

#Exploit:

A successful attempt would require the local user to be able to insert
their code in the system root path undetected by the OS or other security
applications where it could potentially be executed during application
startup or reboot. If successful, the local user's code would execute with
the elevated privileges of the application.