Microsoft Windows Unquoted Service Path Enumeration

high 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: High

ID: 63155

File Name: smb_enum_unquoted_service_paths.nasl

Version: 1.23

Type: local

Agent: windows

Family: Windows

Published: 12/5/2012

Updated: 10/27/2023

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.4

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

CVSS Score Source: CVE-2014-0759

CVSS v3

Risk Factor: High

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

CPE: cpe:/o:microsoft:windows

Required KB Items: SMB/Services/Enumerated

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 9/15/2012

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