OpenOffice.org: User-assisted execution of arbitrary code

Security Team  Contact Address

Updated July 09, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200807-05 / openoffice openoffice-bin
Release Date July 09, 2008
Latest Revision July 09, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/openoffice < 2.4.1 >= 2.4.1 All supported architectures
app-office/openoffice-bin < 2.4.1 >= 2.4.1 All supported architectures

Related bugreports: #225723

Synopsis

An integer overflow vulnerability has been reported in OpenOffice.org.

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

Sean Larsson (iDefense Labs) reported an integer overflow in the function rtl_allocateMemory() in the file sal/rtl/source/alloc_global.c.

Impact

A remote attacker could entice a user to open a specially crafted document, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application.

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.4.1"

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.4.1"

4.  References