MS01-003: Winsock2ProtocolCatalogMutex Mutex Local DoS (279336)

2001-01-29T00:00:00
ID SMB_NT_MS01-003.NASL
Type nessus
Reporter Tenable
Modified 2018-11-15T00:00:00

Description

By default, Windows NT sets weak permissions on the Winsock mutex. A local user without any privilege may abuse these permissions to lock the mutex indefinitely and, therefore, disrupt the network operations of the remote host.

                                        
                                            #
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
 script_id(10603);
 script_version("1.47");
 script_cvs_date("Date: 2018/11/15 20:50:29");

 script_cve_id("CVE-2001-0006");
 script_bugtraq_id(2303);
 script_xref(name:"MSFT", value:"MS01-003");
 script_xref(name:"MSKB", value:"279336");

 script_name(english:"MS01-003: Winsock2ProtocolCatalogMutex Mutex Local DoS (279336)");
 script_summary(english:"Determines whether the hotfix Q279336 is installed");

 script_set_attribute(attribute:"synopsis", value:
"A bug in the remote operating system allows a local user to disable
the network functions of the remote host.");
 script_set_attribute(attribute:"description", value:
"By default, Windows NT sets weak permissions on the Winsock mutex.  A
local user without any privilege may abuse these permissions to lock
the mutex indefinitely and, therefore, disrupt the network operations of
the remote host.");
 script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2001/ms01-003");
 script_set_attribute(attribute:"solution", value:"Microsoft has released a set of patches for NT 4.0.");
 script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:P");
 script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
 script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H");
 script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");

 script_set_attribute(attribute:"vuln_publication_date", value:"2001/01/24");
 script_set_attribute(attribute:"patch_publication_date", value:"2001/01/24");
 script_set_attribute(attribute:"plugin_publication_date", value:"2001/01/29");

 script_set_attribute(attribute:"plugin_type", value:"local");
 script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2001-2018 Tenable Network Security, Inc.");
 script_family(english:"Windows : Microsoft Bulletins");

 script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl");
 script_require_keys("SMB/MS_Bulletin_Checks/Possible");
 script_require_ports(139, 445, "Host/patch_management_checks");

 exit(0);
}

include("smb_hotfixes.inc");
include("smb_hotfixes_fcheck.inc");
include("misc_func.inc");

get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");

bulletin = 'MS01-003';
kb = "279336";

kbs = make_list(kb);
if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_NOTE);


get_kb_item_or_exit('SMB/Registry/Enumerated');
get_kb_item_or_exit('SMB/WindowsVersion', exit_code:1);

if (hotfix_check_sp(nt:7) <= 0) exit(0, "The host is not affected based on its version / service pack.");


if (
  hotfix_missing(name:"Q299444") > 0 &&
  hotfix_missing(name:"Q279336") > 0
)
{
  if (
    defined_func("report_xml_tag") &&
    !isnull(bulletin) &&
    !isnull(kb)
  ) report_xml_tag(tag:bulletin, value:kb);

  hotfix_security_note();
  set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE);
  exit(0);
}
else exit(0, "The host is not affected.");