7.5 High
AI Score
Confidence
High
4.4 Medium
CVSS2
Access Vector
LOCAL
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:L/AC:M/Au:N/C:P/I:P/A:P
0.0004 Low
EPSS
Percentile
5.2%
Sun xVM VirtualBox is prone to an
# 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("2024-02-15T05:05:39+0000");
script_cve_id("CVE-2008-5256");
script_copyright("Copyright (C) 2008 Greenbone AG");
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:"2024-02-15 05:05:39 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2008-12-10 17:58:14 +0100 (Wed, 10 Dec 2008)");
script_category(ACT_GATHER_INFO);
script_family("General");
script_name("Sun xVM VirtualBox Insecure Temporary Files Vulnerability - Linux");
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_xref(name:"URL", value:"http://www.virtualbox.org/wiki/Changelog");
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 VirutalBox version prior to 2.0.6 versions on all Linux platforms.");
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:"solution", value:"Upgrade to the latest version 2.0.6 or later.");
script_tag(name:"summary", value:"Sun xVM VirtualBox is prone to an 'insecure temporary files' vulnerability.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version_unreliable");
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 );