RedHat: Important: openoffice.org security update
Posted by Benjamin D. Thomas   
RedHat Linux It was discovered that certain libraries in the Red Hat Enterprise Linux 3 and 4 openoffice.org packages had an insecure relative RPATH (runtime library search path) set in the ELF (Executable and Linking Format) header. A local user able to convince another user to run OpenOffice in an attacker-controlled directory, could run arbitrary code with the privileges of the victim.
=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: openoffice.org security update
Advisory ID:       RHSA-2008:0538-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2008-0538.html
Issue date:        2008-06-12
CVE Names:         CVE-2008-2152 CVE-2008-2366 
=====================================================================

1. Summary:

Updated openoffice.org packages to correct two security issues are now
available for Red Hat Enterprise Linux 3 and 4.

This update has been rated as having important security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, x86_64
Red Hat Enterprise Linux WS version 3 - i386, x86_64
Red Hat Enterprise Linux AS version 4 - i386, ppc, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, x86_64
Red Hat Enterprise Linux WS version 4 - i386, x86_64

3. Description:

OpenOffice.org is an office productivity suite that includes desktop
applications such as a word processor, spreadsheet, presentation manager,
formula editor, and drawing program.

Sean Larsson found a heap overflow flaw in the OpenOffice memory allocator.
If a carefully crafted file was opened by a victim, an attacker could use
the flaw to crash OpenOffice.org or, possibly, execute arbitrary code.
(CVE-2008-2152)

It was discovered that certain libraries in the Red Hat Enterprise Linux 3
and 4 openoffice.org packages had an insecure relative RPATH (runtime
library search path) set in the ELF (Executable and Linking Format) header.
A local user able to convince another user to run OpenOffice in an
attacker-controlled directory, could run arbitrary code with the privileges
of the victim. (CVE-2008-2366)

All users of openoffice.org are advised to upgrade to these updated
packages, which contain backported fixes which correct these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  

This update is available via Red Hat Network.  Details on how to use 
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

5. Bugs fixed (http://bugzilla.redhat.com/):

450518 - CVE-2008-2152 OpenOffice.org overflow possible on allocation
450532 - CVE-2008-2366 openoffice.org: insecure relative RPATH in OOo 1.1.x packages

6. Package List:

Red Hat Enterprise Linux AS version 3:

Source:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/openoffice.org-1.1.2-42.2.0.EL3.src.rpm

i386:
openoffice.org-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-debuginfo-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-i18n-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-libs-1.1.2-42.2.0.EL3.i386.rpm

x86_64:
openoffice.org-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-debuginfo-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-i18n-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-libs-1.1.2-42.2.0.EL3.i386.rpm

Red Hat Desktop version 3:

Source:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/openoffice.org-1.1.2-42.2.0.EL3.src.rpm

i386:
openoffice.org-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-debuginfo-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-i18n-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-libs-1.1.2-42.2.0.EL3.i386.rpm

x86_64:
openoffice.org-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-debuginfo-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-i18n-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-libs-1.1.2-42.2.0.EL3.i386.rpm

Red Hat Enterprise Linux ES version 3:

Source:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/openoffice.org-1.1.2-42.2.0.EL3.src.rpm

i386:
openoffice.org-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-debuginfo-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-i18n-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-libs-1.1.2-42.2.0.EL3.i386.rpm

x86_64:
openoffice.org-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-debuginfo-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-i18n-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-libs-1.1.2-42.2.0.EL3.i386.rpm

Red Hat Enterprise Linux WS version 3:

Source:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/openoffice.org-1.1.2-42.2.0.EL3.src.rpm

i386:
openoffice.org-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-debuginfo-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-i18n-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-libs-1.1.2-42.2.0.EL3.i386.rpm

x86_64:
openoffice.org-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-debuginfo-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-i18n-1.1.2-42.2.0.EL3.i386.rpm
openoffice.org-libs-1.1.2-42.2.0.EL3.i386.rpm

Red Hat Enterprise Linux AS version 4:

Source:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/openoffice.org-1.1.5-10.6.0.5.EL4.src.rpm

i386:
openoffice.org-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-kde-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.i386.rpm

ppc:
openoffice.org-1.1.5-10.6.0.5.EL4.ppc.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.ppc.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.ppc.rpm
openoffice.org-kde-1.1.5-10.6.0.5.EL4.ppc.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.ppc.rpm

x86_64:
openoffice.org-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.i386.rpm

Red Hat Enterprise Linux Desktop version 4:

Source:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/openoffice.org-1.1.5-10.6.0.5.EL4.src.rpm

i386:
openoffice.org-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-kde-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.i386.rpm

x86_64:
openoffice.org-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.i386.rpm

Red Hat Enterprise Linux ES version 4:

Source:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/openoffice.org-1.1.5-10.6.0.5.EL4.src.rpm

i386:
openoffice.org-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-kde-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.i386.rpm

x86_64:
openoffice.org-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.i386.rpm

Red Hat Enterprise Linux WS version 4:

Source:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/openoffice.org-1.1.5-10.6.0.5.EL4.src.rpm

i386:
openoffice.org-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-kde-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.i386.rpm

x86_64:
openoffice.org-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-debuginfo-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-i18n-1.1.5-10.6.0.5.EL4.i386.rpm
openoffice.org-libs-1.1.5-10.6.0.5.EL4.i386.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2152
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2366
http://www.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2008 Red Hat, Inc.