Lucene search
+L

Sun xVM VirtualBox < 2.0.6 Insecure Temporary Files Vulnerability - Linux

🗓️ 10 Dec 2008 00:00:00Reported by Copyright (C) 2008 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 12 Views

Sun xVM VirtualBox insecure temporary files vulnerability - Linu

Related
Refs
Code
# SPDX-FileCopyrightText: 2008 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:sun:xvm_virtualbox";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.900408");
  script_version("2025-06-24T05:41:22+0000");
  script_tag(name:"cvss_base", value:"4.4");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2025-06-24 05:41:22 +0000 (Tue, 24 Jun 2025)");
  script_tag(name:"creation_date", value:"2008-12-10 17:58:14 +0100 (Wed, 10 Dec 2008)");
  script_cve_id("CVE-2008-5256");
  script_name("Sun xVM VirtualBox < 2.0.6 Insecure Temporary Files Vulnerability - Linux");
  script_copyright("Copyright (C) 2008 Greenbone AG");
  script_category(ACT_GATHER_INFO);
  script_family("General");
  script_dependencies("secpod_sun_virtualbox_detect_lin.nasl");
  script_mandatory_keys("Sun/VirtualBox/Lin/Ver");

  script_xref(name:"URL", value:"http://secunia.com/Advisories/32851");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/32444");

  script_tag(name:"summary", value:"Sun xVM VirtualBox is prone to an 'insecure temporary files'
  vulnerability.");

  script_tag(name:"insight", value:"Error is due to insecured handling of temporary files in the
  'AcquireDaemonLock' function in ipcdUnix.cpp. This allows local users to overwrite arbitrary files
  via a symlink attack on a '/tmp/.vbox-$USER-ipc/lock' temporary file.");

  script_tag(name:"impact", value:"Successful exploitation will let the attacker perform malicious
  actions with the escalated privileges.");

  script_tag(name:"affected", value:"Sun xVM VirtualBox versions prior to 2.0.6.");

  script_tag(name:"solution", value:"Update to version 2.0.6 or later.");

  script_tag(name:"qod_type", value:"executable_version_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

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

if( ! infos = get_app_version_and_location( cpe:CPE, exit_no_version:TRUE ) )
  exit( 0 );

vers = infos["version"];
path = infos["location"];

if( version_is_less( version:vers, test_version:"2.0.6" ) ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:"2.0.6", install_path:path );
  security_message( port:0, data:report );
  exit( 0 );
}

exit( 99 );

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