ID: 3395
Date: 18 September 2007 14:23
Title: 3395 - Multiple Vendor OpenOffice TIFF File Parsing Multiple Integer Overflow Vulnerabilities
Abstract: Description of multiple integer overflow vulnerabilities within OpenOffice, as included in various vendors' operating system distributions, that allows attackers to execute arbitrary code.
Vendors affected:OpenOffice
Applications affected:OpenOffice
Availability of fix: Available
Type of fix: Patch
Source: iDefense Security Advisory
Reliability of source: Known
Source URL: http://labs.idefense.com/intelligence/vulnerabilities/
CVE: CVE-2007-2834
Multiple Vendor OpenOffice TIFF File Parsing Multiple Integer Overflow Vulnerabilities
iDefense Security Advisory 09.17.07
http://labs.idefense.com/intelligence/vulnerabilities/
Sep 17, 2007
I. BACKGROUND
OpenOffice is an open-source desktop office suite for many of today's popular operating systems. Tagged Image File Format (TIFF) is a widely supported image file format. More information about these technologies are available from the following URLs.
http://www.openoffice.org/
http://en.wikipedia.org/wiki/Tiff
II. DESCRIPTION
Remote exploitation of multiple integer overflow vulnerabilities within OpenOffice, as included in various vendors' operating system distributions, allows attackers to execute arbitrary code.
These vulnerabilities exist within the TIFF parsing code of the OpenOffice suite. When parsing the TIFF directory entries for certain tags, the parser uses untrusted values from the file to calculate the amount of memory to allocate. By providing specially crafted values, an integer overflow occurs in this calculation. This results in the allocation of a buffer of insufficient size, which in turn leads to a heap overflow.
III. ANALYSIS
Exploitation of these vulnerabilities allows an attacker to execute arbitrary code with the privileges of the user opening the file.
Exploitation requires that an attacker persuade a targeted user into opening a maliciously crafted document. This could be accomplished by hosting the document on a web site, sending the document via electronic mail, or other means.
IV. DETECTION
iDefense has confirmed the existence of these vulnerabilities in OpenOffice version 2.0.4. All versions prior to version 2.3 are suspected to be vulnerable.
V. WORKAROUND
iDefense is currently unaware of any workarounds for this issue.
VI. VENDOR RESPONSE
The OpenOffice.org team has addressed these vulnerabilities with the release of version 2.3. For more information, consult the OOo Security Bulletin at the following URL.
http://www.openoffice.org/security/cves/CVE-2007-2834.html
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2007-2834 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.
VIII. DISCLOSURE TIMELINE
05/01/2007 Initial vendor notification
06/14/2007 Initial vendor response
09/17/2007 Coordinated public disclosure
IX. CREDIT
The discoverer of these vulnerabilities wishes to remain anonymous.
Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php
Free tools, research and upcoming events http://labs.idefense.com/
X. LEGAL NOTICES
Copyright © 2007 iDefense, Inc.
Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customerservice@idefense.com for permission.
Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.
This advisory contains information released by the original author. Some of the information may have changed since it was released. If the issue affects you, it may be prudent to retrieve the advisory from the site of the original source to ensure that you receive the most current information concerning that problem. Reference to any specific commercial product, process, or service by trade name, trademark manufacturer, or otherwise, does not constitute or imply its endorsement, recommendation, or favouring by CPNI.
The views and opinions of authors expressed within this notice shall not be used for advertising or product endorsement purposes. CPNI shall not accept responsibility for any errors or omissions contained within this advisory. In particular, they shall not be liable for any loss or damage whatsoever, arising from or in connection with the usage of information contained within this advisory.
CSIRTUK is a member of the Forum of Incident Response and Security Teams (FIRST) and has contacts with other international Incident Response Teams (IRTs) in order to foster cooperation and coordination in incident prevention, to prompt rapid reaction to incidents, and to promote information sharing amongst its members and the community at large.