Public Vulnerability Reports

OpenOffice EMF Record Parsing Multiple Integer Overflow Vulnerabilities

31.10.08

BACKGROUND

OpenOffice is an open-source office application that supports reading and writing a wide variety of file formats. For more information, see the vendor's site found at the following link.

http://openoffice.org

DESCRIPTION

Remote exploitation of multiple integer overflow vulnerabilities in OpenOffice versions 2.4.1 and earlier could allow an attacker to execute arbitrary code with the privileges of the current user.

Integer overflow issues exist within the code responsible for parsing multiple EMR records within an EMF file. This allows an attacker to overflow heap memory with data they supplied.

ANALYSIS

Exploitation of this issue allows an attacker to execute arbitrary code with the privileges of the current user. An attacker would need to entice a user into opening the malformed file using OpenOffice. The file could be distributed to users via a Web page or e-mail attachments. Upon opening the file, exploitation of this issue would occur and execution of arbitrary code would be possible.

DETECTION

iDefense has confirmed the existence of this vulnerability in OpenOffice version 2.4.1.

WORKAROUND

iDefense is currently unaware of any workaround for this issue.

VENDOR RESPONSE

OpenOffice has released OpenOffice.org 2.4.2 which addresses these issues. For more information, consult their advisory at the following URL.

http://www.openoffice.org/security/cves/CVE-2008-2238.html

CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2008-2238 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.

DISCLOSURE TIMELINE

09/18/2008 Initial Vendor Notification
09/19/2008 Initial Vendor Reply
09/19/2008 Request Additional Information
09/24/2008 Additional Vendor Feedback
10/29/2008 Coordinated Public Disclosure

CREDIT

These vulnerabilities were reported to iDefense by several parties. Several of the issues were reported by Sebastian Apelt and several were also reported by Code Audit Labs http://www.vulnhunt.com.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

LEGAL NOTICES

Copyright © 2008 Verisign, 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 customer service 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.