WifiHotSpot 1.0.0.0 – ‘WifiHotSpotService.exe’ Unquoted Service Path

  • 作者: Erick Galindo
    日期: 2021-05-07
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/49845/
  • # 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 Prox64 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 WifiHotSpotSvcC:\Program Files (x86)\WifiHotSpot\WifiHotSpotService.exeAuto
    
    # Service info
    sc qc wifihotspotsvc
    [SC] QueryServiceConfig CORRECTO
    
    NOMBRE_SERVICIO: wifihotspotsvc
    TIPO : 10WIN32_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.