CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
AI Score
Confidence
Low
EPSS
Percentile
89.7%
UnrealIRCd is prone to a buffer overflow vulnerability.
# Copyright (C) 2010 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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_oid("1.3.6.1.4.1.25623.1.0.901126");
script_version("2022-02-18T13:05:59+0000");
script_tag(name:"last_modification", value:"2022-02-18 13:05:59 +0000 (Fri, 18 Feb 2022)");
script_tag(name:"creation_date", value:"2010-06-22 14:43:46 +0200 (Tue, 22 Jun 2010)");
script_cve_id("CVE-2009-4893");
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_name("UnrealIRCd Buffer Overflow Vulnerability");
script_tag(name:"impact", value:"Successful exploitation will allow attacker
to cause a denial of service and possibly execute arbitrary code via unspecified
vectors.");
script_tag(name:"affected", value:"UnrealIRCd version 3.2beta11 through 3.2.8");
script_tag(name:"insight", value:"The flaw is caused by an error when
allow::options::noident is enabled, which allows remote attackers to cause a
denial of service and possibly execute arbitrary code via unspecified vectors.");
script_tag(name:"summary", value:"UnrealIRCd is prone to a buffer overflow vulnerability.");
script_tag(name:"solution", value:"Upgrade to UnrealIRCd version 3.2.8.1 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://security.gentoo.org/glsa/glsa-201006-21.xml");
script_xref(name:"URL", value:"http://www.openwall.com/lists/oss-security/2010/06/14/13");
script_xref(name:"URL", value:"http://www.unrealircd.com/txt/unrealsecadvisory.20090413.txt");
## not vulnerable if allow::options::noident is not enabled.
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2010 Greenbone Networks GmbH");
script_family("Buffer overflow");
script_dependencies("gb_unrealircd_detect.nasl");
script_mandatory_keys("UnrealIRCD/Detected");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if(!UnPort = get_app_port(cpe:CPE)){
exit(0);
}
if(!UnVer = get_app_version(cpe:CPE, port:UnPort)){
exit(0);
}
if(UnVer =~ "^3\.2")
{
if(version_in_range(version:UnVer, test_version:"3.2", test_version2:"3.2.8"))
{
report = report_fixed_ver(installed_version:UnVer, fixed_version:"3.2.8.1");
security_message(data:report, port:UnPort);
exit(0);
}
}
exit(99);