WinRAR Corrupt ZIP File Vulnerability
WinRAR is "a powerful archive manager. It can backup your data and reduce size of email attachments, decompress RAR, ZIP and other files downloaded from Internet and create new archives in RAR and ZIP file format".
A vulnerability in the way WinRAR handles long filenames allows a remote attacker that is able to convince a user to try and delete a certain file from a malformed ZIP package, to cause the WinRAR program to execute arbitrary code. The following exploit code can be used to test your system for the mentioned vulnerability.
Vulnerable Systems:
* WinRAR version 3.41 and prior
Mitigating factors:
WinRAR truncates the file name to 1023 bytes and overflowed buffer size is 500 bytes, so maximum size of exploit code is limited to ~0.5KB. Enough to delete something, but seems to be not enough for typical Trojan or virus. Also this buffer contains "Are you sure you want to delete" string before the file name and length of this string differs in different WinRAR translations. So exploit created for English WinRAR will not work in other versions like French or Czech.
Vendor response:
We recently received the report about this WinRAR delete buffer overflow from Dark Eagle and agreed with him about delaying the disclosure until next WinRAR version, which we are going to release soon enough, in 1 - 2 months or maybe even sooner. Please do not disclose the information about this bug now, before Dark Eagle, who was first to find it.
http://www.securiteam.com/windowsntfocus/6B00J1PC1Y.html