OpenOffice Multiple Buffer Overflow Vulnerabilities - Dec12 (Windows)

2012-12-24T00:00:00
ID OPENVAS:1361412562310803083
Type openvas
Reporter Copyright (c) 2012 Greenbone Networks GmbH
Modified 2018-10-12T00:00:00

Description

This host is installed with OpenOffice and is prone to multiple vulnerabilities.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_openoffice_mult_bof_vuln_dec12_win.nasl 11857 2018-10-12 08:25:16Z cfischer $
#
# OpenOffice Multiple Buffer Overflow Vulnerabilities - Dec12 (Windows)
#
# Authors:
# Rachana Shetty <srachana@secpod.com>
#
# Copyright:
# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.803083");
  script_version("$Revision: 11857 $");
  script_cve_id("CVE-2012-1149", "CVE-2012-2665");
  script_bugtraq_id(53570, 54769);
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"$Date: 2018-10-12 10:25:16 +0200 (Fri, 12 Oct 2018) $");
  script_tag(name:"creation_date", value:"2012-12-24 15:26:59 +0530 (Mon, 24 Dec 2012)");
  script_name("OpenOffice Multiple Buffer Overflow Vulnerabilities - Dec12 (Windows)");
  script_xref(name:"URL", value:"http://secunia.com/advisories/46992/");
  script_xref(name:"URL", value:"http://secunia.com/advisories/50438/");
  script_xref(name:"URL", value:"http://securitytracker.com/id?1027068");
  script_xref(name:"URL", value:"http://www.securitytracker.com/id?1027332");
  script_xref(name:"URL", value:"http://www.openoffice.org/security/cves/CVE-2012-2665.html");
  script_xref(name:"URL", value:"http://www.openoffice.org/security/cves/CVE-2012-1149.html");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2012 Greenbone Networks GmbH");
  script_family("Buffer overflow");
  script_dependencies("secpod_openoffice_detect_win.nasl");
  script_mandatory_keys("OpenOffice/Win/Ver");
  script_tag(name:"insight", value:"- An integer overflow error in the vclmi.dll module when allocating memory
    for an embedded image object.

  - Multiple heap-based buffer overflows in the XML manifest encryption tag
    parsing functionality allows attacker to crash the application via crafted
    Open Document Tex (.odt) file.");
  script_tag(name:"solution", value:"Upgrade to OpenOffice version 3.4.1 or later.");
  script_tag(name:"summary", value:"This host is installed with OpenOffice and is prone to
  multiple vulnerabilities.");
  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to cause a denial of
  service condition or execute arbitrary code.");
  script_tag(name:"affected", value:"OpenOffice version before 3.4.1 on windows");
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  script_xref(name:"URL", value:"http://www.openoffice.org/download/");
  exit(0);
}

include("version_func.inc");

officeVer = get_kb_item("OpenOffice/Win/Ver");
if(!officeVer){
  exit(0);
}

## (Display Version comes as 3.41.9593)
if(version_is_less(version: officeVer, test_version:"3.41.9593")){
  security_message( port: 0, data: "The target host was found to be vulnerable" );
}