CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:L/AC:L/Au:N/C:C/I:C/A:C
AI Score
Confidence
Low
EPSS
Percentile
9.8%
avast! AntiVirus is prone to a buffer overflow vulnerability.
# Copyright (C) 2009 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:avast:antivirus";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900985");
script_version("2022-05-09T13:48:18+0000");
script_tag(name:"last_modification", value:"2022-05-09 13:48:18 +0000 (Mon, 09 May 2022)");
script_tag(name:"creation_date", value:"2009-11-26 06:39:46 +0100 (Thu, 26 Nov 2009)");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2009-4049");
script_name("avast! 'aswRdr.sys' Buffer Overflow Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
script_family("Buffer overflow");
script_dependencies("gb_avast_av_detect_win.nasl");
script_mandatory_keys("avast/antivirus/detected");
script_xref(name:"URL", value:"https://www.securityfocus.com/archive/1/507891/100/0/threaded");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/37031");
script_tag(name:"impact", value:"Successful exploitation could allow remote attackers to cause a Denial of
Service or potentially gain escalated privileges.");
script_tag(name:"affected", value:"avast! Home and Professional version 4.8.1356 and prior on Windows.");
script_tag(name:"insight", value:"The vulnerability is due to an error in 'aswRdr.sys' when processing
IOCTLs. This can be exploited to corrupt kernel memory via a specially crafted 0x80002024 IOCTL.");
script_tag(name:"solution", value:"Upgrade to avast! Home and Professional version 4.8.1367 or later.");
script_tag(name:"summary", value:"avast! AntiVirus is prone to a buffer overflow vulnerability.");
script_tag(name:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include( "host_details.inc" );
include( "version_func.inc" );
if( ! infos = get_app_version_and_location( cpe:CPE, exit_no_version:TRUE ) )
exit( 0 );
version = infos["version"];
location = infos["location"];
if( version_is_less( version:version, test_version:"4.8.1367" ) ) {
report = report_fixed_ver( installed_version:version, fixed_version:"4.8.1367", install_path:location );
security_message(port: 0, data: report);
exit( 0 );
}
exit( 99 );