Vulnerabilities > CVE-2006-4926 - Local Privilege Escalation vulnerability in Kaspersky Labs Anti-Virus NDIS-TDI Hooking Engine

047910
CVSS 7.2 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
local
low complexity
kaspersky-lab
nessus
exploit available

Summary

The NDIS-TDI Hooking Engine, as used in the (1) KLICK (KLICK.SYS) and (2) KLIN (KLIN.SYS) device drivers 2.0.0.281 for in Kaspersky Labs Anti-Virus 6.0.0.303 and other Anti-Virus and Internet Security products, allows local users to execute arbitrary code via crafted Irp structure with invalid addresses in the 0x80052110 IOCTL.

Exploit-Db

descriptionKaspersky Internet Security 6.0.0.303 IOCTL KLICK Local Exploit. CVE-2006-4926. Local exploit for windows platform
idEDB-ID:2676
last seen2016-01-31
modified2006-10-29
published2006-10-29
reporterNanika
sourcehttps://www.exploit-db.com/download/2676/
titleKaspersky Internet Security 6.0.0.303 IOCTL KLICK Local Exploit

Nessus

NASL familyWindows
NASL idKASPERSKY_KLIN_IOCTL_PRIV_ESCALATION.NASL
descriptionThe 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.
last seen2020-06-01
modified2020-06-02
plugin id23996
published2007-01-09
reporterThis script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/23996
titleKaspersky Labs Anti-Virus IOCTL Local Privilege Escalation
code
#
# (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);