Tortoise SVN version 1.6.10 build 19898 suffers from the Windows DLL hijacking vulnerability.
9e458041f1e779bd80016839b2909b4a95fedd5e4ffd1c4e4b05752f80456ce3
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
https://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2653163
8. Solution
Fix awaited from Microsoft. Meanwhile workarounds can be found here https://www.microsoft.com/technet/security/advisory/2269637.mspx
---------------------------------------
Nikhil Mittal