Unchecked Buffer in XP upnp

2005-11-03T00:00:00
ID OPENVAS:136141256231010835
Type openvas
Reporter This script is Copyright (C) 2002 Michael Scheidell
Modified 2018-06-15T00:00:00

Description

Unchecked Buffer in Universal Plug and Play Can Lead to System Compromise for Windows XP (Q315000)

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: smb_xp_ms01-059.nasl 10213 2018-06-15 10:04:26Z cfischer $
#
# Unchecked Buffer in XP upnp
#
# Authors:
# Michael Scheidell <scheidell at secnap.net>
#
# Copyright:
# Copyright (C) 2002 Michael Scheidell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.10835");
  script_version("$Revision: 10213 $");
  script_tag(name:"last_modification", value:"$Date: 2018-06-15 12:04:26 +0200 (Fri, 15 Jun 2018) $");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_bugtraq_id(3723);
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2001-0876");
  script_name("Unchecked Buffer in XP upnp");
  script_category(ACT_GATHER_INFO);
  script_copyright("This script is Copyright (C) 2002 Michael Scheidell");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/registry_enumerated");

  script_tag(name:"summary", value:"Unchecked Buffer in Universal Plug and Play Can
  Lead to System Compromise for Windows XP (Q315000)");

  script_tag(name:"impact", value:"By sending a specially-malformed NOTIFY directive,
  it would be possible for an attacker to cause code to run in the context of the UPnP
  service, which runs with system privileges on Windows XP.

  The UPnP implementations do not adequately regulate how it performs this operation,
  and this gives rise to two different denial-of-service scenarios. (CVE-2001-0877)");

  script_tag(name:"solution", value:"The vendor has released updates, please see http://www.microsoft.com/technet/security/bulletin/ms01-059.mspx");

  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

include("secpod_reg.inc");

if ( hotfix_check_sp(xp:1) <= 0 ) exit(0);
if ( hotfix_missing(name:"Q315000") > 0 )
  security_message(port:0);