Wacom Consumer Service - Unquoted Service Path Privilege Escalation

2016-10-09T00:00:00
ID 1337DAY-ID-25466
Type zdt
Reporter Ross Marks
Modified 2016-10-09T00:00:00

Description

Exploit for windows platform in category local exploits

                                        
                                            Wacom Consumer Service:     http://www.wacom.com
By Ross Marks:              http://www.rossmarks.co.uk
Category:                   Local
Tested on:                  Windows 10 x86/x64
  
1) Unquoted Service Path Privilege Escalation 
  
Wacom's "Wacom Consumer Service" installs as a service with an unquoted service path running with SYSTEM privileges.
This could potentially allow an authorized but non-privileged localuser to execute arbitrary code with elevated privileges on the system.
  
A successful attempt would require the local attacker must insert an executable file in the path of the service.
Upon service restart or system reboot, the malicious code will be run with elevated privileges.
  
PoC:
  
C:\>sc qc WTabletServiceCon
[SC] QueryServiceConfig SUCCESS
  
SERVICE_NAME: WTabletServiceCon
        TYPE               : 10  WIN32_OWN_PROCESS
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Program Files\Tablet\Pen\WtabletServiceCon.exe
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : Wacom Consumer Service
        DEPENDENCIES       :
        SERVICE_START_NAME : LocalSystem

#  0day.today [2018-04-02]  #