The host is running ESET Smart Security, which is prone to a local
privilege escalation vulnerability.
##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_eset_smart_sec_local_prv_esc_vuln_900114.nasl 5370 2017-02-20 15:24:26Z cfi $
# Description: ESET Smart Security easdrv.sys Local Privilege Escalation Vulnerability
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (C) 2008 SecPod, http://www.secpod.com
#
# 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_impact = "Local exploitation will allow attackers to execute arbitrary
code with kernel level privileges to result in complete compromise of
the system.
Impact Level : Application";
tag_solution = "Upgrade to Eset Software Smart Security version 4.0.474 or later
For update refer, http://www.eset.com/";
tag_insight = "The flaw exists due to an error in easdrv.sys driver file.";
tag_summary = "The host is running ESET Smart Security, which is prone to a local
privilege escalation vulnerability.";
tag_affected = "- Eset Software Smart Security 3.0.667.0 and prior on Windows (All)";
if(description)
{
script_id(900114);
script_version("$Revision: 5370 $");
script_tag(name:"last_modification", value:"$Date: 2017-02-20 16:24:26 +0100 (Mon, 20 Feb 2017) $");
script_tag(name:"creation_date", value:"2008-09-02 07:39:00 +0200 (Tue, 02 Sep 2008)");
script_cve_id("CVE-2008-7107");
script_bugtraq_id(30719);
script_copyright("Copyright (C) 2008 SecPod");
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_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"registry");
script_family("Privilege escalation");
script_name("ESET Smart Security easdrv.sys Local Privilege Escalation Vulnerability");
script_dependencies("secpod_reg_enum.nasl");
script_mandatory_keys("SMB/WindowsVersion");
script_require_ports(139, 445);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "summary" , value : tag_summary);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "impact" , value : tag_impact);
script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/30719/discuss");
exit(0);
}
include("smb_nt.inc");
if (!get_kb_item("SMB/WindowsVersion")){
exit(0);
}
esetVer = registry_get_sz(key:"SOFTWARE\ESET\ESET Security\CurrentVersion\Info",
item:"ProductVersion");
if(!esetVer){
exit(0);
}
# Grep Eset Software Smart Security version <= 3.0.667.0
if(egrep(pattern:"^([0-2]\..*|3\.0\.([0-5]?[0-9]?[0-9]|6[0-5][0-9]|66[0-7])\.0)$",
string:esetVer)){
security_message(0);
}