Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [VulnWatch] zoo contains exploitable buffer overflows |
|---|---|
| Date: | Wed, 22 Feb 2006 23:59:47 -0500 |
Topic: zoo contains exploitable buffer overflows
Announced: 2006-02-22 Product: zoo Category: Applications/Archiving Impact: Remote code execution Credits: Jean-Sébastien Guay-Leroux
I. BACKGROUND
zoo is a file archiving utility for maintaining collections of files. It uses Lempel-Ziv compression to provide space savings in the range of 20 to 80 percent depending on the type of data. Written by Rahul Dhesi, and posted to the USENET newsgroup comp.sources.misc.
II. PROBLEM DESCRIPTION
When feeding zoo a specially crafted archive, an attacker may be able to trigger a stack overflow and seize control of the program.
fullpath()/misc.c accepts a pointer to a directory entry and returns the combined directory name and filename. fullpath() calls the function combine()/misc.c, and assume that the length of the string returned is never longer than 256 bytes. In fact, the string returned can be made a little longer than 512 bytes.
If the string is in fact longer than 256 bytes, a static variable can be overflowed in the function fullpath()/misc.c . This string is later used in a strcpy() on a destination buffer of 256 bytes on the stack.
It is then easy to overwrite EIP and take control of the program.
III. PATCH
IV. CREDITS
Bug found by Jean-Sébastien Guay-Leroux
To contact me, visit http://www.guay-leroux.com/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | NSFOCUS SA2006-01 : Winamp m3u File Processing Buffer Overflow Vulnerability, NSFOCUS Security Team |
|---|---|
| Next by Date: | [Full-disclosure] iDefense Security Advisory 02.24.06: SCO Unixware Setuid ptrace Local Privilege Escalation Vulnerability, labs-no-reply |
| Previous by Thread: | NSFOCUS SA2006-01 : Winamp m3u File Processing Buffer Overflow Vulnerability, NSFOCUS Security Team |
| Next by Thread: | [Full-disclosure] iDefense Security Advisory 02.24.06: SCO Unixware Setuid ptrace Local Privilege Escalation Vulnerability, labs-no-reply |
| Indexes: | [Date] [Thread] [Top] [All Lists] |