UnRAR password-protected archive buffer overflow
| unrar-password-archive-bo (32357) |
Description:
UnRAR is vulnerable to a stack-based buffer overflow, caused by improper bounds checking in the command line utility. By persuading a victim to open a specially-crafted password-protected archive, a remote attacker could overflow a buffer and execute arbitrary code on the system with the privileges of the victim, once the victim enters a password. An attacker could exploit this vulnerability by sending the malicious archive to a victim as an email attachment or by hosting it on a Web site.
Note: This vulnerability does not affect the Windows GUI-based version of UnRAR.
Platforms Affected:
- Eugene Roshal, UnRAR prior to 3.70 beta
- Gentoo, Linux
Remedy:
Upgrade to the latest version of UnRAR (3.70 beta or later), available from the UnRAR Web page. See References.
For Gentoo Linux:
Refer to GLSA 200702-04 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Gain Access
References:
- iDefense Labs PUBLIC ADVISORY: 02.07.07, RARLabs Unrar Password Prompt Buffer Overflow Vulnerability at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=472.
- UnRAR Web page, UnRAR at http://www.rarlab.com/.
- BID-22447: RARLAB Unrar Password Protected Archives Buffer Overflow Vulnerability
- CVE-2007-0855: Stack-based buffer overflow in RARLabs Unrar, as packaged in WinRAR and possibly other products, allows user-assisted remote attackers to execute arbitrary code via a crafted, password-protected archive.
- GLSA-200702-04: RAR, UnRAR: Buffer overflow
- SA24077: RARLabs UnRAR Password Prompt Buffer Overflow Vulnerability
- SECTRACK ID: 1017593: UnRAR Stack Overflow in Processing Password Protected Archives Lets Remote Users Execute Arbitrary Code
- SUSE-SR:2007:005: SUSE Security Summary Report
- VUPEN/ADV-2007-0523: RARLabs unRAR Password Prompt Handling Client-Side Buffer Overflow Vulnerability
Reported:
Feb 07, 2007
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
