header-logo
Suggest Exploit
vendor:
High Definition Audio Driver
by:
Joey Lane
7,2
CVSS
HIGH
Privilege Escalation
269
CWE
Product Name: High Definition Audio Driver
Affected Version From: 6.0.1.6730
Affected Version To: 6.0.1.6730
Patch Exists: YES
Related CWE: N/A
CPE: a:realtek:high_definition_audio_driver
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows 7 Professional
2016

Realtek High Definition Audio Driver – Unquoted Service Path Privilege Escalation

The Realtek High Definition Audio Driver installs a service with an unquoted service path, which enables a local privilege escalation vulnerability. To exploit this vulnerability, a local attacker can insert an executable file in the path of the service. Rebooting the system or restarting the service will run the malicious executable with elevated privileges.

Mitigation:

Ensure that all services have a quoted service path.
Source

Exploit-DB raw data:

# Exploit Title: Realtek High Definition Audio Driver - Unquoted Service Path Privilege Escalation
# Date: 10/19/2016
# Exploit Author: Joey Lane
# Version: 6.0.1.6730
# Tested on: Windows 7 Professional
 
The Realtek High Definition Audio Driver installs a service with an unquoted service path.
This enables a local privilege escalation vulnerability.  To exploit this vulnerability,
a local attacker can insert an executable file in the path of the service.
Rebooting the system or restarting the service will run the malicious executable
with elevated privileges.
 
 
This was tested on version 6.0.1.6730, but other versions may be affected as well.
 
 
---------------------------------------------------------------------------
 
C:\>sc qc RtkAudioService                                                       
[SC] QueryServiceConfig SUCCESS                                                 
                                                                                
SERVICE_NAME: RtkAudioService                                                   
        TYPE               : 10  WIN32_OWN_PROCESS                              
        START_TYPE         : 2   AUTO_START                                     
        ERROR_CONTROL      : 1   NORMAL                                         
        BINARY_PATH_NAME   : C:\Program Files\Realtek\Audio\HDA\RtkAudioService64.exe                                                                           
        LOAD_ORDER_GROUP   : PlugPlay                                           
        TAG                : 0                                                  
        DISPLAY_NAME       : Realtek Audio Service                              
        DEPENDENCIES       :                                                    
        SERVICE_START_NAME : LocalSystem
 
---------------------------------------------------------------------------
 
 
EXAMPLE:
 
Using the BINARY_PATH_NAME listed above as an example, an executable named
"Program.exe" could be placed in "C:\", and it would be executed as the
Local System user next time the service was restarted.