Insecure Windows Service Permissions

high Nessus Plugin ID 65057
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

At least one improperly configured Windows service may have a privilege escalation vulnerability.

Description

At least one Windows service executable with insecure permissions was detected on the remote host. Services configured to use an executable with weak permissions are vulnerable to privilege escalation attacks.
An unprivileged user could modify or overwrite the executable with arbitrary code, which would be executed the next time the service is started. Depending on the user that the service runs as, this could result in privilege escalation.

This plugin checks if any of the following groups have permissions to modify executable files that are started by Windows services :

- Everyone
- Users
- Domain Users
- Authenticated Users

Solution

Ensure the groups listed above do not have permissions to modify or write service executables. Additionally, ensure these groups do not have Full Control permission to any directories that contain service executables.

See Also

http://www.nessus.org/u?e4e766b2

Plugin Details

Severity: High

ID: 65057

File Name: smb_insecure_service_permissions.nasl

Version: 1.9

Type: local

Agent: windows

Family: Windows

Published: 3/6/2013

Updated: 3/9/2020

Dependencies: smb_enum_services_params.nasl, smb_dom2sid.nasl

Risk Information

CVSS Score Source: manual

CVSS Score Rationale: Local privilege escalation.

CVSS v2

Risk Factor: High

Base Score: 7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS v3

Risk Factor: High

Base Score: 8.4

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

Vulnerability Information

CPE: cpe:/o:microsoft:windows

Required KB Items: SMB/svcs, SMB/transport, SMB/name, SMB/login, SMB/password