The version of Kaspersky Anti-Virus installed on the remote host allows a local attacker to execute arbitrary code with kernel privileges by passing a specially crafted Irp structure to an IOCTL handler used by the KLIN and KLICK device drivers. By leveraging this flaw, a local attacker may be able to gain complete control of the affected system.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(23996);
script_version("1.19");
script_cvs_date("Date: 2019/05/16 10:38:54");
script_cve_id("CVE-2006-4926");
script_bugtraq_id(20635);
script_name(english:"Kaspersky Labs Anti-Virus IOCTL Local Privilege Escalation");
script_summary(english:"Checks date of virus signatures");
script_set_attribute(attribute:"synopsis", value:
"The remote Windows host contains an application that is prone to a
local privilege escalation issue." );
script_set_attribute(attribute:"description", value:
"The version of Kaspersky Anti-Virus installed on the remote host allows
a local attacker to execute arbitrary code with kernel privileges by
passing a specially crafted Irp structure to an IOCTL handler used by
the KLIN and KLICK device drivers. By leveraging this flaw, a local
attacker may be able to gain complete control of the affected system." );
# http://www.verisigninc.com/en_US/products-and-services/network-intelligence-availability/idefense/public-vulnerability-reports/articles/index.xhtml?id=425
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?010a6f57" );
script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/449258/30/0/threaded" );
script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/449301/30/0/threaded" );
# http://web.archive.org/web/20071030114411/http://www.kaspersky.com/technews?id=203038678
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c69e5f92" );
script_set_attribute(attribute:"solution", value:
"Update the virus signatures after 10/12/2006 and restart the computer.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2006-4926");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"plugin_publication_date", value: "2007/01/09");
script_set_attribute(attribute:"vuln_publication_date", value: "2006/10/19");
script_set_attribute(attribute:"patch_publication_date", value: "2006/10/20");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe",value:"cpe:/a:kaspersky_lab:kaspersky_anti-virus");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("kaspersky_installed.nasl");
script_require_keys("Antivirus/Kaspersky/sigs");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
# sigs format : MM/DD/YYYY
kb_sigs = get_kb_item_or_exit("Antivirus/Kaspersky/sigs");
if (kb_sigs == "unknown")
audit(AUDIT_UNKNOWN_APP_VER, "the Kaspersky anti-virus signatures (unknown)");
if (kb_sigs !~ "^[0-9]+\/[0-9]+\/[0-9]+$")
audit(AUDIT_UNKNOWN_APP_VER, "the Kaspersky anti-virus signatures (bad format)");
# Convert to YYYY/MM/DD
sigs = ereg_replace(string:kb_sigs , pattern:"^([0-9]+)\/([0-9]+)\/([0-9]+)$", replace:"\3.\1.\2");
# Ver check against YYYY/MM/DD
if (ver_compare(fix:"2006.10.12", ver:sigs) <= 0)
{
port = get_kb_item("SMB/transport");
if (!port) port = 445;
report = ' Signatures date : ' + kb_sigs +'\n';
security_report_v4(port:port, extra:report, severity:SECURITY_HOLE);
exit(0);
}
else
audit(AUDIT_INST_VER_NOT_VULN, "Kaspersky anti-virus signatures", kb_sigs);
Vendor | Product | Version | CPE |
---|---|---|---|
kaspersky_lab | kaspersky_anti-virus | cpe:/a:kaspersky_lab:kaspersky_anti-virus |