Insecure Windows Service Permissions

high Nessus Plugin ID 65057

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.11

Type: local

Agent: windows

Family: Windows

Published: 3/6/2013

Updated: 5/18/2023

Supported Sensors: Nessus Agent, Nessus

Risk Information

CVSS Score Rationale: Local privilege escalation.

CVSS v2

Risk Factor: High

Base Score: 7.2

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

CVSS Score Source: manual

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/name, SMB/login, SMB/password, SMB/svcs, SMB/transport