Secunia Research: ZipTV ARJ Archive Handling and unacev2.dll Buffer Overflows

====================================================================== 

                    Secunia Research 07/09/2006

   - ZipTV ARJ Archive Handling and unacev2.dll Buffer Overflows -

====================================================================== 
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Description of Vulnerability.........................................3
Solution.............................................................4
Time Table...........................................................5
Credits..............................................................6
References...........................................................7
About Secunia........................................................8
Verification.........................................................9

====================================================================== 
1) Affected Software 

* ZipTV for Delphi 7 version 2006.1.26.
* ZipTV for C++ Builder version 2006-1.16.

Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Moderately Critical
Impact: System Access
Where:  Remote

====================================================================== 
3) Description of Vulnerability

Secunia Research has discovered two vulnerabilities in ZipTV, which
can be exploited by malicious people to compromise an application
using the library. 

1) A boundary error exists within the TZipTV component when listing
the files in an ARJ archive. This can be exploited to cause a
heap-based buffer overflow via a specially-crafted ARJ archive with
an overly large ARJ header block. 

Successful exploitation allows execution of arbitrary code when a 
malicious ARJ archive is listed.

2) A boundary error exists in UNACEV2.DLL (ztvunacev2.dll) when
extracting an ACE archive containing a file with an overly long
filename. This can be exploited to cause a stack-based buffer overflow
when a user extracts a specially crafted ACE archive.

Successful exploitation allows execution of arbitrary code when a
malicious ACE archive is extracted.

====================================================================== 
4) Solution 

Do not open untrusted archives.

====================================================================== 
5) Time Table 

25/05/2006 - Initial vendor notification.
01/06/2006 - Second vendor notification.
01/06/2006 - Initial vendor reply.
08/06/2006 - Second vendor reply.
21/08/2006 - Reminder sent to vendor.
07/09/2006 - Public disclosure.

====================================================================== 
6) Credits 

Discovered by Tan Chew Keong, Secunia Research.

====================================================================== 
7) References

The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2005-2856 and CVE-2006-2482 for the vulnerabilities.

====================================================================== 
8) About Secunia 

Secunia collects, validates, assesses, and writes advisories regarding 
all the latest software vulnerabilities disclosed to the public. These 
advisories are gathered in a publicly available database at the 
Secunia website: 

http://secunia.com/

Secunia offers services to our customers enabling them to receive all 
relevant vulnerability information to their specific system 
configuration. 

Secunia offers a FREE mailing list called Secunia Security Advisories: 

http://secunia.com/secunia_security_advisories/

====================================================================== 
9) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2006-50/advisory/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================