Microsoft Windows SMB LsaQueryInformationPolicy Function SID Enumeration Without Credentials

medium Nessus Plugin ID 56210
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

It is possible to obtain the host SID for the remote host, without credentials.

Description

By emulating the call to LsaQueryInformationPolicy(), it was possible to obtain the host SID (Security Identifier), without credentials.

The host SID can then be used to get the list of local users.

Solution

You can prevent anonymous lookups of the host SID by setting the 'RestrictAnonymous' registry setting to an appropriate value.

Refer to the 'See also' section for guidance.

See Also

http://technet.microsoft.com/en-us/library/bb418944.aspx

Plugin Details

Severity: Medium

ID: 56210

File Name: smb_host2sid_null_session.nasl

Version: 1.5

Type: remote

Agent: windows

Family: Windows

Published: 9/15/2011

Updated: 4/29/2021

Dependencies: netbios_name_get.nasl, smb_login.nasl, smb_hotfixes.nasl

Risk Information

CVSS Score Source: CVE-2000-1200

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/o:microsoft:windows

Required KB Items: SMB/transport, SMB/name, SMB/null_session_suspected

Excluded KB Items: SMB/not_windows

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 1/31/2000

Reference Information

CVE: CVE-2000-1200

BID: 959