====================================================================== Secunia Research 08/04/2008 - Autonomy Keyview Applix Graphics Parsing Vulnerabilities - ====================================================================== 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 * Autonomy Keyview (kpagrdr.dll versions 2.0.0.2 and 10.3.0.0) NOTE: Other versions may also be affected. ====================================================================== 2) Severity Rating: Highly critical Impact: From remote Where: System access ====================================================================== 3) Vendor's Description of Software "Whether you require export of documents to Web-ready HTML or valid XML, high-speed filtering, or high-fidelity viewing capabilities, KeyView has a software developer kit that you can use.". Product Link: http://www.autonomy.com/content/Products/KeyView/index.en.html ====================================================================== 4) Description of Vulnerability Secunia Research has discovered some vulnerabilities in Autonomy Keyview, which can be exploited by malicious people to compromise a vulnerable system. 1) An unsafe call to "sscanf()" when parsing the "ENCODING" attribute of the "*BEGIN" tag in an Applix document can be exploited to cause a stack-based buffer overflow. 2) A boundary error when parsing overly long tokens from the input file can be exploited to cause a heap-based buffer overflow. 3) A boundary error when parsing the initial "*BEGIN" tag can be exploited to cause stack-based buffer overflow. Successful exploitation of the above vulnerabilities allows execution of arbitrary code. 4) A logic error when parsing long tokens can result in an infinite loop. Exploitation will result in maximum CPU usage until an application-configured timeout expires. In some cases memory usage will increase until the OS terminates the process. ====================================================================== 5) Solution Upgrade to Keyview 10.4.0.0 or later. ====================================================================== 6) Time Table 21/11/2007 - Autonomy and other vendors notified. 21/11/2007 - Autonomy response. 11/03/2008 - Symantec released fixed version. 08/04/2008 - Public disclosure. ====================================================================== 7) Credits Discovered by Dyon Balding, Secunia Research. ====================================================================== 8) References The Common Vulnerabilities and Exposures (CVE) project has assigned CVE-2007-5405 for the overflows and CVE-2007-5406 for the infinite loop. ====================================================================== 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-95/ Complete list of vulnerability reports published by Secunia Research: http://secunia.com/secunia_research/ ======================================================================