Secunia Research: activePDF Server Packet Handling Buffer Overflow

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

                     Secunia Research 27/02/2008

       - activePDF Server Packet Handling Buffer Overflow -

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

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

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

activePDF Server versions 3.8.4 and 3.8.5.14.

NOTE: Other versions may also be affected.

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

Rating: Moderately critical
Impact: System compromise
Where:  Local network

====================================================================== 
3) Vendor's Description of Software 

"Use activePDF Server to provide integrated PDF generation and dynamic
PDF conversion from within your enterprise or web applications.".

Product Link:
http://www.activepdf.com/products/serverproducts/server/

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered a vulnerability in activePDF Server,
which can be exploited by malicious people to compromise a vulnerable
system.

The vulnerability is caused due to a boundary error in the activePDF
Server service (APServer.exe) when receiving client data. This can be
exploited to cause a heap-based buffer overflow by connecting to the
service (port 53535/TCP by default) and sending a packet specifying a
smaller size than the actual size of the following data.

Successful exploitation may allow execution of arbitrary code.

====================================================================== 
5) Solution 

Update to version 3.8.6.16 or later.

====================================================================== 
6) Time Table 

30/10/2007 - Vendor notified.
08/11/2007 - Vendor notified (2nd attempt).
16/11/2007 - Vendor response.
27/02/2008 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Carsten Eiram, Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has assigned 
CVE-2007-5397 for the vulnerability.

====================================================================== 
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://corporate.secunia.com/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://corporate.secunia.com/secunia_research/33/

Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:

http://secunia.com/secunia_vacancies/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/secunia_security_advisories/ 

====================================================================== 
10) Verification 

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

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

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