OpenOffice.org: Heap-based buffer overflow

Security Team  Contact Address

Updated October 23, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-24 / openoffice
Release Date October 23, 2007
Latest Revision October 23, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/openoffice < 2.3.0 >= 2.3.0 All supported architectures
app-office/openoffice-bin < 2.3.0 >= 2.3.0 All supported architectures

Related bugreports: #192818

Synopsis

A heap-based buffer overflow vulnerability has been discovered in OpenOffice.org, allowing for the remote execution of arbitrary code.

2.  Impact Information

Background

OpenOffice.org is an open source office productivity suite, including word processing, spreadsheet, presentation, drawing, data charting, formula editing, and file conversion facilities.

Description

iDefense Labs reported that the TIFF parsing code uses untrusted values to calculate buffer sizes, which can lead to an integer overflow resulting in heap-based buffer overflow.

Impact

A remote attacker could entice a user to open a specially crafted document, possibly leading to execution of arbitrary code with the privileges of the user running OpenOffice.org.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All OpenOffice.org users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/openoffice-2.3.0"

All OpenOffice.org binary users should upgrade to the latest version:

Code Listing 3.2: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/openoffice-bin-2.3.0"

4.  References