Lucene search
K

Windows NT NNTP Component Buffer Overflow

🗓️ 26 Apr 2010 00:00:00Reported by This script is Copyright (C) 2010 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 29 Views

Windows NT NNTP Component Buffer Overflo

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ms04_036.nasl 5323 2017-02-17 08:49:23Z teissa $
#
# Windows NT NNTP Component Buffer Overflow
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2010 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), 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.
###############################################################################

tag_summary = "The Network News Transfer Protocol (NNTP) component of Microsoft
Windows NT Server 4.0, Windows 2000 Server, Windows Server 2003,
Exchange 2000 Server, and Exchange Server 2003 allows remote attackers
to execute arbitrary code via XPAT patterns, possibly related to
improper length validation and an unchecked buffer, leading to
off-by-one and heap-based buffer overflows.";

tag_solution = "Microsoft has released a bulletin that includes fixes to address this
issue for supported versions of the operating system.";

if (description)
{
 script_id(100608);
 script_version("$Revision: 5323 $");
 script_tag(name:"last_modification", value:"$Date: 2017-02-17 09:49:23 +0100 (Fri, 17 Feb 2017) $");
 script_tag(name:"creation_date", value:"2010-04-26 19:54:51 +0200 (Mon, 26 Apr 2010)");
 script_cve_id("CVE-2004-0574");

 script_name("Windows NT NNTP Component Buffer Overflow");

 script_xref(name : "URL" , value : "http://www.microsoft.com/technet/security/bulletin/ms04-036.mspx");

script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_tag(name:"qod_type", value:"remote_banner");
script_category(ACT_GATHER_INFO);
script_family("Buffer overflow");
script_copyright("This script is Copyright (C) 2010 Greenbone Networks GmbH");
script_dependencies("find_service.nasl", "nntpserver_detect.nasl");
script_require_ports("Services/nntp", 119);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
exit(0);
}

include("version_func.inc");

port = get_kb_item("Services/nntp");
if(!port)port = 119;
if(!get_port_state(port))exit(0);

banner = get_kb_item(string("nntp/banner/", port));
if(!banner || "200 NNTP Service" >!< banner)exit(0);

version = eregmatch(pattern:"^200 NNTP Service .* Version: ([0-9.]+)", string: banner);
if(isnull(version[1]))exit(0);

VULN = FALSE;

if(version[1] =~ "^5\.5\.") {
  if(version_is_less(version: version[1], test_version:"5.5.1877.79"))  {
   VULN = TRUE; 
  }  
}

else if(version[1] =~ "^5\.0\.") {
  if(version_is_less(version: version[1], test_version:"5.0.2195.6972")) {
    VULN = TRUE;
  }  
} 

else if(version[1] =~ "^6\.0\.") {
  if(version_is_less(version: version[1], test_version:"6.0.3790.206")) {
    VULN = TRUE;
  }  
} 

if(VULN) {
  security_message(port:port);
  exit(0);
}

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation