J-Security Center

Title: OpenOffice Multiple Heap Based Buffer Overflow Vulnerabilities

Severity: HIGH

Description:

OpenOffice is a suite of office applications for multiple operating platforms.

OpenOffice is prone to multiple vulnerabilities:

1. CVE-2007-4770, CVE-2007-4771: Multiple heap-based buffer-overflow issues occur when the application processes specially crafted ODF text documents with XForms. Note that these issues stem from errors in the third-party ICU library that OpenOffice uses to parse the files. The ICU vulnerabilities are described in BID 27455.

2. CVE-2007-5745, CVE-2007-5747: Multiple heap-based buffer-overflow vulnerabilities arise when the application handles specially crafted Quattro Pro files. First, buffer-overflow issues can occur when parsing the file's 'Attribute' and 'Font Description' records. Attackers can trigger these issues by inserting more than 256 records. Second, a loop counter parsed from the QPRO file isn't properly checked for underflow conditions as it decrements.

3. CVE-2007-5746: A heap-based buffer-overflow issue presents itself because of an error in processing specially crafted EMF files. The issue occurs when allocating dynamically sized buffers based on parsing the 'EMR_STRETCHBLT' record.

4. CVE-2008-0320: A heap-based buffer overflow can occur when the application parses specially crafted OLE files. This issue arises when the importer for OLE files parses the 'DocumentSummaryInformation' stream and fails to adequately verify the size of a destination buffer before copying attacker-supplied information into it.

Remote attackers can exploit these issues by enticing victims into opening maliciously crafted files.

Successful exploits may allow attackers to execute arbitrary code within the context of the affected application. Failed exploit attempts will likely result in a denial of service.

The issues affect OpenOffice 2 prior to 2.4. The OLE and EMF file issues also affect OpenOffice 1.1.

Affected Products:

  • Avaya Interactive Response 2.0
  • Avaya Interactive Response 3.0
  • Debian Linux 3.1.0
  • Debian Linux 3.1.0 alpha
  • Debian Linux 3.1.0 amd64
  • Debian Linux 3.1.0 arm
  • Debian Linux 3.1.0 hppa
  • Debian Linux 3.1.0 ia-32
  • Debian Linux 3.1.0 ia-64
  • Debian Linux 3.1.0 m68k
  • Debian Linux 3.1.0 mips
  • Debian Linux 3.1.0 mipsel
  • Debian Linux 3.1.0 ppc
  • Debian Linux 3.1.0 s/390
  • Debian Linux 3.1.0 sparc
  • Debian Linux 4.0
  • Debian Linux 4.0 alpha
  • Debian Linux 4.0 amd64
  • Debian Linux 4.0 arm
  • Debian Linux 4.0 hppa
  • Debian Linux 4.0 ia-32
  • Debian Linux 4.0 ia-64
  • Debian Linux 4.0 m68k
  • Debian Linux 4.0 mips
  • Debian Linux 4.0 mipsel
  • Debian Linux 4.0 powerpc
  • Debian Linux 4.0 s/390
  • Debian Linux 4.0 sparc
  • Gentoo Linux
  • MandrakeSoft Corporate Server 3.0.0
  • MandrakeSoft Corporate Server 3.0.0 x86_64
  • MandrakeSoft Linux Mandrake 2008.0
  • MandrakeSoft Linux Mandrake 2008.0 x86_64
  • OpenOffice OpenOffice 1.0.1
  • OpenOffice OpenOffice 1.0.2
  • OpenOffice OpenOffice 1.0.3
  • OpenOffice OpenOffice 1.1.1
  • OpenOffice OpenOffice 1.1.2
  • OpenOffice OpenOffice 1.1.3
  • OpenOffice OpenOffice 1.1.4
  • OpenOffice OpenOffice 1.1.5
  • OpenOffice OpenOffice 1.1.51
  • OpenOffice OpenOffice 1.1.52
  • OpenOffice OpenOffice 2.0.0 beta
  • OpenOffice OpenOffice 2.0.1
  • OpenOffice OpenOffice 2.0.2
  • OpenOffice OpenOffice 2.0.3
  • OpenOffice OpenOffice 2.0.3-1
  • OpenOffice OpenOffice 2.0.4
  • OpenOffice OpenOffice 2.1
  • OpenOffice OpenOffice 2.2
  • OpenOffice OpenOffice 2.2.0
  • OpenOffice OpenOffice 2.2.1
  • OpenOffice OpenOffice 2.3.0
  • OpenOffice OpenOffice 2.3.1
  • RedHat Desktop 3.0.0
  • RedHat Desktop 4.0.0
  • RedHat Enterprise Linux AS 3
  • RedHat Enterprise Linux AS 4
  • RedHat Enterprise Linux Desktop 5 client
  • RedHat Enterprise Linux ES 3
  • RedHat Enterprise Linux ES 4
  • RedHat Enterprise Linux Optional Productivity Application 5 server
  • RedHat Enterprise Linux WS 3
  • RedHat Enterprise Linux WS 4
  • RedHat Fedora 7
  • RedHat Fedora 8
  • RedHat Fedora Core3
  • S.u.S.E. Linux 10.1 ppc
  • S.u.S.E. Linux 10.1 x86
  • S.u.S.E. Linux 10.1 x86-64
  • S.u.S.E. Novell Linux Desktop 9
  • S.u.S.E. SLE SDK 10.SP1
  • S.u.S.E. SUSE Linux Enterprise Desktop 10 SP1
  • S.u.S.E. openSUSE 10.2
  • S.u.S.E. openSUSE 10.3
  • Sun StarOffice 7.0 PP10
  • Sun StarOffice 7.0 PP9
  • Sun StarOffice 7.0.0
  • Sun StarOffice 8 Update 6
  • Sun StarOffice 8 Update 7
  • Sun StarOffice 8.0
  • Ubuntu Ubuntu Linux 4.1.0 ia32
  • Ubuntu Ubuntu Linux 4.1.0 ia64
  • Ubuntu Ubuntu Linux 4.1.0 ppc
  • Ubuntu Ubuntu Linux 5.0.0 4 amd64
  • Ubuntu Ubuntu Linux 5.0.0 4 i386
  • Ubuntu Ubuntu Linux 5.0.0 4 powerpc
  • Ubuntu Ubuntu Linux 6.06 LTS amd64
  • Ubuntu Ubuntu Linux 6.06 LTS i386
  • Ubuntu Ubuntu Linux 6.06 LTS powerpc
  • Ubuntu Ubuntu Linux 6.06 LTS sparc
  • Ubuntu Ubuntu Linux 7.04 amd64
  • Ubuntu Ubuntu Linux 7.04 i386
  • Ubuntu Ubuntu Linux 7.04 powerpc
  • Ubuntu Ubuntu Linux 7.04 sparc
  • Ubuntu Ubuntu Linux 7.10 amd64
  • Ubuntu Ubuntu Linux 7.10 i386
  • Ubuntu Ubuntu Linux 7.10 lpia
  • Ubuntu Ubuntu Linux 7.10 powerpc
  • Ubuntu Ubuntu Linux 7.10 sparc

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.