Kaspersky Anti-Virus Unsafe Access Control Configuration for BASES Folder Lets Local Users Gain Elevated Privileges
SecurityTracker Alert ID: 1023366|
SecurityTracker URL: http://securitytracker.com/id/1023366
(Links to External Site)
Updated: Dec 29 2009|
Original Entry Date: Dec 17 2009
Execution of arbitrary code via local system, Root access via local system|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): 5.0.712 and 126.96.36.1997 for Windows Workstations, Personal 5.0.x, 188.8.131.527 for Windows File Servers, 184.108.40.2065, 2009 (8.0.0.x), 2010 (220.127.116.113); and prior versions|
A vulnerability was reported in Kaspersky Anti-Virus. A local user can obtain elevated privileges on the target system.|
The BASES folder is configured to allow 'Full Control' privileges to the 'Everyone' group. A local user can modify some files in that directory to execute arbitrary commands on the target system with System privileges.
The vendor was notified on July 16, 2009.
Maxim A. Kulakov (ShineShadow) reported this vulnerability.
A local user can obtain System privileges on the target system.|
The vendor has issued a fix (2010 (18.104.22.1686), 6.0 for Windows Workstations (22.214.171.1242), 6.0 for Windows File Servers (126.96.36.1992), 2010 Critical Fix 2).|
Vendor URL: www.kaspersky.com/ (Links to External Site)
Access control error, Configuration error|
Source Message Contents
Date: Wed, 16 Dec 2009 12:58:17 +0000|
Subject: Kaspersky Lab Multiple Products Local Privilege Escalation Vulnerability
ShineShadow Security Report 16122009-15
Kaspersky Lab Multiple Products Local Privilege Escalation Vulnerability
Due to its high level of professionalism and dedication, Kaspersky Lab has become a market leader in the development of antivirus protection. The company’s main product, Kaspersky Anti-Virus, regularly receives top awards in tests conducted by respected international research centers and IT publications. Kaspersky Lab was the first to develop many technological standards in the antivirus industry, including full-scale solutions for Linux, Unix and NetWare, a new-generation heuristic analyzer designed to detect newly emerging viruses, effective protection against polymorphic and macro viruses, continuously updated antivirus databases and a technique for detecting viruses in archived files.
Kaspersky Anti-Virus 5.0 for Windows Workstations (5.0.712)
Kaspersky Antivirus Personal 5.0.x
Kaspersky Anti-Virus 6.0 for Windows Workstations (188.8.131.527)
Kaspersky Anti-Virus 6.0 for Windows File Servers (184.108.40.2067)
Kaspersky Anti-Virus 7 (220.127.116.115)
Kaspersky Anti-Virus 2009 (8.0.0.x)
Kaspersky Anti-Virus 2010 (18.104.22.1683)
Kaspersky Internet Security 7 (22.214.171.1245)
Kaspersky Internet Security 2009 (8.0.0.x)
Kaspersky Internet Security 2010 (126.96.36.1993)
Prior versions may also be affected.
Insecure permissions have been detected in the multiple Kaspersky Lab antivirus products. “Everyone" group has “Full Control” rights to the BASES folder. The folder consists of antivirus bases, configuration files and executable modules. Local attacker (unprivileged user) can replace some files (for example, executable modules) by malicious file and execute arbitrary code with SYSTEM privileges. This is local privilege escalation vulnerability.
For example, in Kaspersky Anti-Virus 2010 (188.8.131.523) the following attack scenario could be used:
1. An attacker (unprivileged user) replaces one of the *.kdl files by malicious dynamic link library (DLL). The replacing file could be - %ALLUSERSPROFILE%\Application Data\Kaspersky Lab\AVP9\Bases\vulns.kdl.
2. Restart the system.
After restart attackers malicious DLL will be loaded with SYSTEM privileges.
Self-defense of the Kaspersky Anti-Virus will prevent all operations with own files. It can be bypassed using internal shell dialogs in Kaspersky Anti-Virus (for example, "Open" dialog in Quarantine).
For other vulnerable Kaspersky Lab products similar attack scenario could be used.
An attacker must have valid logon credentials to a system where vulnerable software is installed.
Kaspersky Lab has addressed this vulnerability by releasing fixed versions of the vulnerable products:
Kaspersky Anti-Virus 2010 (184.108.40.2066)
Kaspersky Internet Security 2010 (220.127.116.116)
Kaspersky Anti-Virus 6.0 for Windows Workstations (18.104.22.1682)
Kaspersky Anti-Virus 6.0 for Windows File Servers (22.214.171.1242)
16/07/2009 Initial vendor notification. Secure contacts requested.
16/07/2009 Vendor response
16/07/2009 Vulnerability details sent
21/07/2009 Vendor accepted vulnerability for analysis
0708/2009 Vendor confirmed vulnerability in personal and corporate product lines and notified that the vulnerability will be fixed in new versions of vulnerable products
23/09/2009 Update status query sent
17/09/2009 Vendor response that the vulnerability will be fixed in October but in the last product lines only (personal 2010 CF2 and corporate MP4). Fixing the vulnerability in prior product lines is not planned.
01/10/2009 Corporate product line has been updated (Kaspersky Anti-Virus for Windows Workstations 126.96.36.1992 released)
22/10/2009 Kaspersky Anti-Virus 2010 and Kaspersky Internet Security 2010 Critical Fix 2 released
16/12/2009 Advisory released
Maxim A. Kulakov (ShineShadow)