Lucene search
+L

OpenOffice senddoc Insecure Temporary File Creation Vulnerability (Linux)

🗓️ 11 Nov 2008 00:00:00Reported by Copyright (C) 2008 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

OpenOffice 'senddoc' Insecure Temporary File Creation Vulnerability (Linux

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_openoffice_senddoc_tmp_file_creation_vuln_lin.nasl 7823 2017-11-20 08:54:04Z cfischer $
#
# OpenOffice senddoc Insecure Temporary File Creation Vulnerability (Linux)
#
# Authors:
# Veerendra GG <[email protected]>
#
# Copyright:
# Copyright (c) 2008 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.
###############################################################################

tag_impact = "Successful exploitation allows attackers to delete or corrupt
  sensitive files, which may result in a denial of service condtion.
  Impact Level: Application";
tag_affected = "OpenOffice.org 2.4.1 on Linux.";
tag_insight = "The flaw exists due to OpenOffice 'senddoc' which creates temporary files
  in an insecure manner, which allows users to overwrite files via a symlink
  attack on a /tmp/log.obr.##### temporary file.";
tag_solution = "Upgrade OpenOffice to higher version.
  http://download.openoffice.org/index.html";
tag_summary = "The host has OpenOffice installed and is prone to Insecure
  Temporary File Creation Vulnerability.";

if(description)
{
  script_id(800129);
  script_version("$Revision: 7823 $");
  script_tag(name:"last_modification", value:"$Date: 2017-11-20 09:54:04 +0100 (Mon, 20 Nov 2017) $");
  script_tag(name:"creation_date", value:"2008-11-11 09:00:11 +0100 (Tue, 11 Nov 2008)");
  script_tag(name:"cvss_base", value:"2.6");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:H/Au:N/C:N/I:P/A:P");
  script_cve_id("CVE-2008-4937");
  script_bugtraq_id(30925);
  script_name("OpenOffice senddoc Insecure Temporary File Creation Vulnerability (Linux)");
  script_xref(name : "URL" , value : "http://www.openwall.com/lists/oss-security/2008/10/30/2");
  script_xref(name : "URL" , value : "http://dev.gentoo.org/~rbu/security/debiantemp/openoffice.org-common");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
  script_family("Remote file access");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("login/SSH/success");
  script_exclude_keys("ssh/no_linux_shell");

  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"qod_type", value:"executable_version");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("ssh_func.inc");
include("version_func.inc");

sock = ssh_login_or_reuse_connection();
if(!sock){
  exit(0);
}

filePath = find_file(file_name:"versionrc", file_path:"/", sock:sock);
foreach path (filePath)
{
  path = chomp(path);
  if("openoffice" >!< path){
    continue;
  }

  openoffVer = get_bin_version(full_prog_name:"cat", version_argv:path,
                               ver_pattern:"[0-9]\.[0-9](\.[0-9])?");
  if(openoffVer != NULL)
  {
    if(openoffVer[0] == "2.4.1"){
      security_message(0);
    }
    ssh_close_connection();
    exit(0);
  }
}
ssh_close_connection();

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Nov 2017 00:00Current
7.5High risk
Vulners AI Score7.5
EPSS0.00446
24