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: $Revision: 1.6 $

Type: local

Agent: windows

Family: Windows

Published: 2013/03/06

Modified: 2015/01/12

Dependencies: 44401, 10398

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.2

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

Vulnerability Information

CPE: cpe:/o:microsoft:windows

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