WinRAR LHA archive buffer overflow
| winrar-lha-bo (27815) |
Description:
WinRAR is vulnerable to a stack-based buffer overflow, caused by improper bounds of file and directory names when processing LHA archives. By creating a malicious LHA archive containing an overly long file or directory name, a remote attacker could overflow a buffer and execute arbitrary code on the system, once the malicious LHA file is extracted.
Platforms Affected:
- WinRAR, WinRAR 3.00 - 3.60 beta 6
Remedy:
Upgrade to the latest version of WinRAR (version 3.60 beta 7 or later), available from the WinRAR Web site.
Consequences:
Gain Access
References:
- Full-Disclosure Mailing List, Tue Jul 18 2006 - 10:46:29 CDT, Hustle -- RARLab's WinRAR stack overflow at http://archives.neohapsis.com/archives/fulldisclosure/2006-07/0384.html.
- Hustle Labs Advisory 04-July-2006, RARLab's WinRAR Local Stack Overflow at http://hustlelabs.com/advisories/04072006_rarlabs.pdf.
- BID-19043: RARLAB WinRAR LHA Filename Handling Buffer Overflow Vulnerability
- CVE-2006-3845: Stack-based buffer overflow in lzh.fmt in WinRAR 3.00 through 3.60 beta 6 allows remote attackers to execute arbitrary code via a long filename in a LHA archive.
- CVE-2006-3912: Stack-based buffer overflow in the SFX module in WinRAR before 3.60 beta 8 has unspecified vectors and impact.
- OSVDB ID: 27031: WinRAR SFX Module Archive Comment Processing Overflow
- SA21080: WinRAR LHA Archive Processing Buffer Overflow
- VUPEN/ADV-2006-2867: WinRAR lzh.fmt LHA Archive Processing Client-Side Buffer Overflow Vulnerability
Reported:
Jul 18, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
