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: | [NEWS] zlib Buffer Overflow Vulnerability |
|---|---|
| Date: | 11 Jul 2005 13:05:00 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - zlib Buffer Overflow Vulnerability ------------------------------------------------------------------------ SUMMARY <http://www.zlib.net/> zlib is a compression and decompression library using the gzip format. By creating a specially crafted compressed data stream, attackers can overwrite data structures for application that uses zlib. The result may cause the application to perform a denial of service by crashing, and may also allow attackers to execute arbitrary code. DETAILS Vulnerable Systems: * zlib version 1.2.1 * zlib version 1.2.2 In order to exploit the vulnerability, attackers would have to create a special crafted compressed streamed data, that will trigger the buffer overflow with the inflate_table() function. Vulnerable Code: inftrees.c: if (left > 0 && (type == CODES || (codes - count[0] != 1))) return -1; /* incomplete set */ Workaround: You may apply an unofficial patch made by FreeBSD: Index: lib/libz/inftrees.c -================================================================= RCS file: /home/ncvs/src/lib/libz/inftrees.c,v retrieving revision 1.5 diff -u -p -r1.5 inftrees.c --- lib/libz/inftrees.c 11 May 2005 03:47:48 -0000 1.5 +++ lib/libz/inftrees.c 2 Jul 2005 19:29:56 -0000 @@ -134,7 +134,7 @@ unsigned short FAR *work; left -= count[len]; if (left < 0) return -1; /* over-subscribed */ } - if (left > 0 && (type == CODES || (codes - count[0] != 1))) + if (left > 0 && (type == CODES || max != 1)) return -1; /* incomplete set */ /* generate offsets into symbol table for each length for sorting */ CVE Information: <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096> CAN-2005-2096 ADDITIONAL INFORMATION The information has been provided by: Secunia <http://secunia.com/advisories/15949/> http://secunia.com/advisories/15949/ , FreeBSD Security <http://www.niscc.gov.uk/niscc/docs/br-20050707-00552.html?lang=en> http://www.niscc.gov.uk/niscc/docs/br-20050707-00552.html?lang=en , c-enter <http://www.c-enter.hu/center/0250564.html> http://www.c-enter.hu/center/0250564.html, Whitedust <http://www.whitedust.net/speaks/837/> http://www.whitedust.net/speaks/837/ ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NEWS] Notify Message Spoofing Vulnerability With VoIP Phones, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] GNATS Authentication Bypass Vulnerability, SecuriTeam |
| Previous by Thread: | [NEWS] Notify Message Spoofing Vulnerability With VoIP Phones, SecuriTeam |
| Next by Thread: | [UNIX] GNATS Authentication Bypass Vulnerability, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |