`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 companys 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 (220.127.116.117)
Kaspersky Anti-Virus 6.0 for Windows File Servers (18.104.22.1687)
Kaspersky Anti-Virus 7 (22.214.171.1245)
Kaspersky Anti-Virus 2009 (8.0.0.x)
Kaspersky Anti-Virus 2010 (126.96.36.1993)
Kaspersky Internet Security 7 (188.8.131.525)
Kaspersky Internet Security 2009 (8.0.0.x)
Kaspersky Internet Security 2010 (184.108.40.2063)
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 (220.127.116.113) 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 (18.104.22.1686)
Kaspersky Internet Security 2010 (22.214.171.1246)
Kaspersky Anti-Virus 6.0 for Windows Workstations (126.96.36.1992)
Kaspersky Anti-Virus 6.0 for Windows File Servers (188.8.131.522)
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 184.108.40.2062 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)