1. Overview
Tortoise SVN is vulnerable to Windows DLL Hijacking Vulnerability. Version 1.6.10, Build 19898 (latest available on 30th August 2010 was tested) is vulnerable.
2. Vulnerability Description
Tortoise SVN passes insufficiently qualified path for the dll "dwmapi.dll" while opening a file using TortoiseProc
Timeline
30-08-2010 - Discovered Vulnerability
30-08-2010 - Informed the developers
30-08-2010 - Response from developers (in 25 minutes)
31-08-2010 - Disclosure
3. Exploitability
A file extension needs to be registered with TortoiseProc to exploit the vulnerability and a crafted file needs to be opened from a network share.
4. Versions Affected
TortoiseSVN 1.6.10, Build 19898 and lower.
5. POC/Exploit
Done with Webdav hijack module of Metasploit
6. Impact
Remote Code Execution in context of TortoiseProc
7. References
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2653163
8. Solution
Fix awaited from Microsoft. Meanwhile workarounds can be found here http://www.microsoft.com/technet/security/advisory/2269637.mspx
---------------------------------------
Nikhil Mittal