// For flags

CVE-2007-5747

openoffice.org: Quattro Pro files parsing integer underflow

Severity Score

9.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Integer underflow in OpenOffice.org before 2.4 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a Quattro Pro (QPRO) file with crafted values that trigger an excessive loop and a stack-based buffer overflow.

Subdesbordamiento de enteros en OpenOffice.org versiones anteriores a 2.4, permite a los atacantes remotos causar una denegación de servicio (bloqueo) y posiblemente ejecutar código arbitrario por medio de un archivo Quattro Pro (QPRO) con valores diseñados que desencadenan un bucle excesivo y un desbordamiento de búfer en la región stack de la memoria.

Remote exploitation of an integer underflow vulnerability in OpenOffice, as included in various vendors' operating system distributions, allows attackers to execute arbitrary code with the privileges of the logged in user. The vulnerability exists within the code responsible for converting the QPRO file into an internal representation used by OpenOffice. A 16-bit integer is read in from the file, and later used as a loop counter that controls how many values are stored into local stack buffers. When verifying the value of this counter, the code decrements the counter without checking to see if this operation will underflow. This results in the loop running for many iterations, which leads to a stack based buffer overflow. This allows for the execution of arbitrary code. iDefense has confirmed the existence of this vulnerability in OpenOffice version 2.3. Other versions may also be affected.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2007-10-31 CVE Reserved
  • 2008-04-17 CVE Published
  • 2024-08-07 CVE Updated
  • 2025-06-07 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-189: Numeric Errors
  • CWE-190: Integer Overflow or Wraparound
CAPEC
References (28)
URL Date SRC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Sun
Search vendor "Sun"
Openoffice.org
Search vendor "Sun" for product "Openoffice.org"
<= 2.3.0
Search vendor "Sun" for product "Openoffice.org" and version " <= 2.3.0"
-
Affected
Sun
Search vendor "Sun"
Openoffice.org
Search vendor "Sun" for product "Openoffice.org"
1.1.0
Search vendor "Sun" for product "Openoffice.org" and version "1.1.0"
-
Affected
Sun
Search vendor "Sun"
Openoffice.org
Search vendor "Sun" for product "Openoffice.org"
2.0.0
Search vendor "Sun" for product "Openoffice.org" and version "2.0.0"
-
Affected
Sun
Search vendor "Sun"
Openoffice.org
Search vendor "Sun" for product "Openoffice.org"
2.1.0
Search vendor "Sun" for product "Openoffice.org" and version "2.1.0"
-
Affected
Sun
Search vendor "Sun"
Openoffice.org
Search vendor "Sun" for product "Openoffice.org"
2.2.0
Search vendor "Sun" for product "Openoffice.org" and version "2.2.0"
-
Affected