Lucene search

K
openvasThis script is Copyright (C) 2010 Greenbone Networks GmbHOPENVAS:100856
HistoryOct 15, 2010 - 12:00 a.m.

UnrealIRCd User Authentication Buffer Overflow Vulnerability

2010-10-1500:00:00
This script is Copyright (C) 2010 Greenbone Networks GmbH
plugins.openvas.org
15

0.023 Low

EPSS

Percentile

89.7%

UnrealIRCd is prone to a buffer-overflow
vulnerability. Successful exploits will allow remote attackers to execute arbitrary
code within the context of the affected application. Failed exploit
attempts will result in a denial-of-service condition.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_unrealircd_42077.nasl 5399 2017-02-23 07:02:00Z antu123 $
#
# UnrealIRCd User Authentication Buffer Overflow Vulnerability
#
# 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.
###############################################################################

CPE = "cpe:/a:unrealircd:unrealircd";

if (description)
{
 script_id(100856);
 script_version("$Revision: 5399 $");
 script_tag(name:"last_modification", value:"$Date: 2017-02-23 08:02:00 +0100 (Thu, 23 Feb 2017) $");
 script_tag(name:"creation_date", value:"2010-10-15 13:28:27 +0200 (Fri, 15 Oct 2010)");
 script_bugtraq_id(42077);
 script_tag(name:"cvss_base", value:"6.8");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2009-4893");

 script_name("UnrealIRCd User Authentication Buffer Overflow Vulnerability");

 script_xref(name : "URL" , value : "https://www.securityfocus.com/bid/42077");
 script_xref(name : "URL" , value : "http://www.unrealircd.com/txt/unrealsecadvisory.20090413.txt");
 script_xref(name : "URL" , value : "http://unrealircd.com/");

 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("gb_unrealircd_detect.nasl");
 script_mandatory_keys("UnrealIRCD/Detected");
 script_tag(name : "solution" , value : "Updates are available, please see
 the references for more information.");
 script_tag(name : "summary" , value : "UnrealIRCd is prone to a buffer-overflow
 vulnerability. Successful exploits will allow remote attackers to execute arbitrary
 code within the context of the affected application. Failed exploit
 attempts will result in a denial-of-service condition.");
 exit(0);
}


include("host_details.inc");
include("version_func.inc");

##Get port from CPE
if(!UnPort = get_app_port(cpe:CPE)){
  exit(0);
}

##Get Version from CPE
if(!UnVer = get_app_version(cpe:CPE, port:UnPort)){
  exit(0);
}

if(UnVer =~ "^3\.2")
{
  if(version_is_less(version: UnVer, test_version: "3.2.8.1"))
  {
    report = report_fixed_ver(installed_version:UnVer, fixed_version:"3.2.8.1");
    security_message(data:report, port:UnPort);
    exit(0);
  }
}

0.023 Low

EPSS

Percentile

89.7%