Microsoft Windows Unquoted Service Path Enumeration

Medium Nessus Plugin ID 63155

Synopsis

The remote Windows host has at least one service installed that uses an unquoted service path.

Description

The remote Windows host has at least one service installed that uses an unquoted service path, which contains at least one whitespace. A local attacker can gain elevated privileges by inserting an executable file in the path of the affected service.

Note that this is a generic test that will flag any application affected by the described vulnerability.

Solution

Ensure that any services that contain a space in the path enclose the path in quotes.

See Also

http://www.nessus.org/u?84a4cc1c

http://cwe.mitre.org/data/definitions/428.html

https://www.commonexploits.com/unquoted-service-paths/

http://www.nessus.org/u?4aa6acbc

Plugin Details

Severity: Medium

ID: 63155

File Name: smb_enum_unquoted_service_paths.nasl

Version: 1.21

Type: local

Agent: windows

Family: Windows

Published: 2012/12/05

Modified: 2018/07/27

Dependencies: 69803, 69307, 83117, 44401

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.9

Temporal Score: 5.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Required KB Items: SMB/Services/Enumerated

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 2012/09/15

Exploitable With

Metasploit (Windows Service Trusted Path Privilege Escalation)

Reference Information

CVE: CVE-2013-1609, CVE-2014-0759, CVE-2014-5455

BID: 58591, 58617, 65873, 68520

ICSA: 14-058-01

EDB-ID: 34037