Computer Security
[EN] securityvulns.ru
no-pyccku



Related information

  Microsoft Windows multiple applications DLL hijacking

  ESA-2011-039: RSA(r), The Security Division of EMC, announces security fixes and improvements for RSASecurID(r)
Software Token 4.1 for Microsoft(r)W
indows(r)

  Foxit Reader Insecure Library Loading

  PDFill Insecure Library Loading

  Silently Pwning Protected-Mode IE9 and Innocent Windows Applications

From:YGN Ethical Hacker Group <lists_(at)_yehg.net>
Date:02.09.2010
Subject:KeePass version 2.12 <= Insecure DLL Hijacking Vulnerability (dwmapi.dll)

1. OVERVIEW

The KeePass application is vulnerable to Insecure DLL Hijacking
Vulnerability. Similar terms that describe this vulnerability
have been come up with Remote Binary Planting, and Insecure DLL
Loading/Injection/Hijacking/Preloading.


2. PRODUCT DESCRIPTION

KeePass Password Safe is a free, open source, light-weight and
easy-to-use password manager for Windows. You can store your passwords
in a highly-encrypted database, which is locked with one master
password or key file.


3. VULNERABILITY DESCRIPTION

The KeePass application passes an insufficiently qualified path in
loading an external library, "dwmapi.dll"
when a user opens its associated file with extensions - "kdbx".


4. VERSIONS AFFECTED

2.12 and lower version family of 2.x


5. PROOF-OF-CONCEPT/EXPLOIT

http://core.yehg.net/lab/pr0js/advisories/dll_hijacking/keepass/poc/movie/
http://core.yehg.net/lab/pr0js/advisories/dll_hijacking/keepass/poc/keepass.exe_2
.12_dwmapi.dll.zip


Tested Platform: Windows XP Service Pack 3 (Fresh Windows)


6. IMPACT

Attackers can trigger a successful exploit against a victim user in a
number of ways such as placing a malicious external
library file made as hidden attribute and a seemingly interesting file
in network shares, usb drives, file sharing networks,
social networks, ..etc  


7. SOLUTION

Fix version (i.e 2.13) has not been released yet but the latest patch
is available at:
http://keepass.info/filepool/KeePass_100829b.zip


8. VENDOR

Dominik Reichl
http://keepass.info


9. CREDIT

This vulnerability was discovered by Aung Khant, http://yehg.net, YGN
Ethical Hacker Group, Myanmar.


10. DISCLOSURE TIME-LINE

08-29-2010: vulnerability discovered
08-29-2010: notified vendor
08-29-2010: patch released
09-01-2010: vulnerability disclosed


11. REFERENCES

Original Advisory URL:
http://core.yehg.net/lab/pr0js/advisories/dll_hijacking/[keepass]_2.
12_insecure_dll_hijacking_(dwmapi.dll)
Workaround Solution: http://support.microsoft.com/kb/2264107
Workaround Solution:
https://www.microsoft.com/technet/security/advisory/2269637.mspx#EGF
Developer Solution:
http://msdn.microsoft.com/en-us/library/ff919712%28v=VS.85%29.aspx
Unofficial DLL Hijacking List:
http://www.corelan.be:8800/index.php/2010/08/25/dll-hijacking-kb-2269637-the-
unofficial-list/


#yehg [09-01-2010]

About | Terms of use | Privacy Policy
© SecurityVulns, 3APA3A, Vladimir Dubrovin
Nizhny Novgorod

 
 



Rating@Mail.ru