CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
EPSS
Percentile
97.9%
The remote host is running a version of Sun Microsystems OpenOffice.org that is affected by a heap-based buffer overflow in its RTF document parser that is triggered when parsing ‘prtdata’ tags. If a remote attacker can trick a user into opening a specially crafted RTF document, he can execute arbitrary code on the remote host subject to the user’s privileges.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(25552);
script_version("1.19");
script_cve_id("CVE-2007-0245");
script_bugtraq_id(24450);
script_name(english:"Sun OpenOffice.org RTF Parser prtdata Tag Buffer Overflow");
script_summary(english:"Checks version of Sun OpenOffice.org.");
script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has a program that is affected by a buffer
overflow vulnerability." );
script_set_attribute(attribute:"description", value:
"The remote host is running a version of Sun Microsystems
OpenOffice.org that is affected by a heap-based buffer overflow in its
RTF document parser that is triggered when parsing 'prtdata' tags. If
a remote attacker can trick a user into opening a specially crafted
RTF document, he can execute arbitrary code on the remote host subject
to the user's privileges." );
script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2007/Jun/169" );
script_set_attribute(attribute:"see_also", value:"http://www.openoffice.org/issues/show_bug.cgi?id=77214" );
script_set_attribute(attribute:"see_also", value:"http://www.openoffice.org/security/cves/CVE-2007-0245.html" );
script_set_attribute(attribute:"solution", value:
"Upgrade to Sun Microsystems OpenOffice.org version 2.2.1 or later." );
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(119);
script_set_attribute(attribute:"plugin_publication_date", value: "2007/06/20");
script_set_attribute(attribute:"vuln_publication_date", value: "2007/06/13");
script_cvs_date("Date: 2018/11/15 20:50:27");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:sun:openoffice.org");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.");
script_dependencies("openoffice_installed.nasl");
script_require_keys("SMB/OpenOffice/Build");
exit(0);
}
build = get_kb_item("SMB/OpenOffice/Build");
if (build)
{
matches = eregmatch(string:build, pattern:"([0-9]+[a-z][0-9]+)\(Build:([0-9]+)\)");
if (!isnull(matches))
{
buildid = int(matches[2]);
if (buildid < 9161) security_hole(get_kb_item("SMB/transport"));
}
}
Vendor | Product | Version | CPE |
---|---|---|---|
sun | openoffice.org | cpe:/a:sun:openoffice.org |