Oracle VM VirtualBox < 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 / 4.3.8 Multiple Memory Corruption - Nessus
Medium Plugin ID: 72985This page contains detailed information about the Oracle VM VirtualBox < 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 / 4.3.8 Multiple Memory Corruption Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 72985
Name: Oracle VM VirtualBox < 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 / 4.3.8 Multiple Memory Corruption
Filename: virtualbox_4_3_8.nasl
Vulnerability Published: 2014-02-25
This Plugin Published: 2014-04-16
Last Modification Time: 2018-11-15
Plugin Version: 1.14
Plugin Type: local
Plugin Family: Windows
Dependencies:
virtualbox_installed.nasl
Required KB Items [?]: VirtualBox/Version
Vulnerability Information
Severity: Medium
Vulnerability Published: 2014-02-25
Patch Published: 2014-03-11
CVE [?]: CVE-2014-0981, CVE-2014-0983
CPE [?]: cpe:/a:oracle:vm_virtualbox
Synopsis
The remote host has an application that is affected by multiple memory corruption vulnerabilities.
Description
The remote host contains a version of Oracle VM VirtualBox that is 3.2.x prior to 3.2.22, 4.0.24, 4.1.32, 4.2.24 or 4.3.8. It is, therefore, potentially affected by the following vulnerabilities :
- An input validation error exists in the function 'crNetRecvReadback' in the file 'GuestHost/OpenGL/util/net.c' related to handling CR_MESSAGE_READBACK and CR_MESSAGE_WRITEBACK messages that could allow memory corruption leading to application crashes and possibly arbitrary code execution. (CVE-2014-0981)
- An input validation error exists related to the Chromium server and the handling of CR_VERTEXATTRIB4NUBARB_OPCODE messages that could allow memory corruption leading to application crashes and possibly arbitrary code execution. (CVE-2014-0983)
Solution
Upgrade Oracle VM VirtualBox to 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 / 4.3.8 or later.
Public Exploits
Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Core Impact)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the Oracle VM VirtualBox < 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 / 4.3.8 Multiple Memory Corruption vulnerability:
- Metasploit: exploit/windows/local/virtual_box_opengl_escape
[VirtualBox 3D Acceleration Virtual Machine Escape] - Exploit-DB: exploits/multiple/dos/32208.txt
[EDB-32208: Oracle VM VirtualBox - 3D Acceleration Multiple Vulnerabilities] - Exploit-DB: exploits/windows_x86-64/remote/34334.rb
[EDB-34334: Oracle VM VirtualBox 4.3.6 - 3D Acceleration Virtual Machine Escape (Metasploit)]
Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.
WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.
Risk Information
CVSS V2 Vector [?]: AV:L/AC:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score: | 6.9 (Medium) |
Impact Subscore: | 10.0 |
Exploitability Subscore: | 3.4 |
CVSS Temporal Score: | 5.7 (Medium) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 5.7 (Medium) |
Go back to menu.
Plugin Source
This is the virtualbox_4_3_8.nasl nessus plugin source code. This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(72985);
script_version("1.14");
script_cvs_date("Date: 2018/11/15 20:50:29");
script_cve_id("CVE-2014-0981", "CVE-2014-0983");
script_bugtraq_id(66131, 66132, 66133);
script_xref(name:"EDB-ID", value:"32208");
script_name(english:"Oracle VM VirtualBox < 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 / 4.3.8 Multiple Memory Corruption");
script_summary(english:"Performs a version check on VirtualBox.exe");
script_set_attribute(attribute:"synopsis", value:
"The remote host has an application that is affected by multiple memory
corruption vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The remote host contains a version of Oracle VM VirtualBox that is
3.2.x prior to 3.2.22, 4.0.24, 4.1.32, 4.2.24 or 4.3.8. It is,
therefore, potentially affected by the following vulnerabilities :
- An input validation error exists in the function
'crNetRecvReadback' in the file
'GuestHost/OpenGL/util/net.c' related to handling
CR_MESSAGE_READBACK and CR_MESSAGE_WRITEBACK messages
that could allow memory corruption leading to
application crashes and possibly arbitrary code
execution. (CVE-2014-0981)
- An input validation error exists related to the
Chromium server and the handling of
CR_VERTEXATTRIB4NUBARB_OPCODE messages that could allow
memory corruption leading to application crashes and
possibly arbitrary code execution. (CVE-2014-0983)");
# https://www.secureauth.com/labs/advisories/oracle-virtualbox-3d-acceleration-multiple-memory-corruption-vulnerabilities
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3b8225dd");
# https://www.oracle.com/technetwork/topics/security/cpuapr2014-1972952.html#AppendixOVIR
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b9fe8be8");
script_set_attribute(attribute:"see_also", value:"https://www.virtualbox.org/wiki/Changelog");
script_set_attribute(attribute:"solution", value:
"Upgrade Oracle VM VirtualBox to 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 /
4.3.8 or later.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"exploit_framework_core", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'VirtualBox 3D Acceleration Virtual Machine Escape');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2014/02/25");
script_set_attribute(attribute:"patch_publication_date", value:"2014/03/11");
script_set_attribute(attribute:"plugin_publication_date", value:"2014/04/16");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:vm_virtualbox");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.");
script_dependencies("virtualbox_installed.nasl");
script_require_keys("VirtualBox/Version");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
ver = get_kb_item_or_exit('VirtualBox/Version');
path = get_kb_item_or_exit('SMB/VirtualBox/'+ver);
# Note int(null) returns '0'
ver_fields = split(ver, sep:'.', keep:FALSE);
major = int(ver_fields[0]);
minor = int(ver_fields[1]);
rev = int(ver_fields[2]);
# Affected :
# 3.2.x < 3.2.22
# 4.0.x < 4.0.24
# 4.1.x < 4.1.32
# 4.2.x < 4.2.24
# 4.3.x < 4.3.8
if (major == 3 && minor == 2 && rev < 22) fix = '3.2.22';
else if (major == 4 && minor == 0 && rev < 24) fix = '4.0.24';
else if (major == 4 && minor == 1 && rev < 32) fix = '4.1.32';
else if (major == 4 && minor == 2 && rev < 24) fix = '4.2.24';
else if (major == 4 && minor == 3 && rev < 8) fix = '4.3.8';
if (fix)
{
port = get_kb_item("SMB/transport");
if (!port) port = 445;
if (report_verbosity > 0)
{
report =
'\n Path : ' + path +
'\n Installed version : ' + ver +
'\n Fixed version : ' + fix +
'\n';
security_warning(port:port, extra:report);
}
else security_warning(port);
exit(0);
}
else audit(AUDIT_INST_PATH_NOT_VULN, 'Oracle VM VirtualBox', ver, path);
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/virtualbox_4_3_8.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\virtualbox_4_3_8.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/virtualbox_4_3_8.nasl
Go back to menu.
How to Run
Here is how to run the Oracle VM VirtualBox < 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 / 4.3.8 Multiple Memory Corruption as a standalone plugin via the Nessus web user interface (https://localhost:8834/):
- Click to start a New Scan.
- Select Advanced Scan.
- Navigate to the Plugins tab.
- On the top right corner click to Disable All plugins.
- On the left side table select Windows plugin family.
- On the right side table select Oracle VM VirtualBox < 3.2.22 / 4.0.24 / 4.1.32 / 4.2.24 / 4.3.8 Multiple Memory Corruption plugin ID 72985.
- Specify the target on the Settings tab and click to Save the scan.
- Run the scan.
Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.
Basic usage:
/opt/nessus/bin/nasl virtualbox_4_3_8.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a virtualbox_4_3_8.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - virtualbox_4_3_8.nasl -t <IP/HOST>
Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):
/opt/nessus/bin/nasl -K /tmp/state virtualbox_4_3_8.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: See also:
- https://www.tenable.com/plugins/nessus/72985
- https://www.virtualbox.org/wiki/Changelog
- http://www.nessus.org/u?3b8225dd
- http://www.nessus.org/u?b9fe8be8
- https://vulners.com/nessus/VIRTUALBOX_4_3_8.NASL
- 73534 - Debian DSA-2904-1 : virtualbox - security update
- 95695 - GLSA-201612-27 : VirtualBox: Multiple vulnerabilities (Venom)
- 33819 - Sun xVM VirtualBox < 1.6.4 Local Privilege Escalation
- 40549 - Sun xVM VirtualBox < 3.0.4 Multiple Local Denial of Service Vulnerabilities
- 76536 - Oracle VM VirtualBox < 3.2.24 / 4.0.26 / 4.1.34 / 4.2.26 / 4.3.14 Multiple Unspecified Vulnerabilities
- 83729 - Oracle VM VirtualBox < 3.2.28 / 4.0.30 / 4.1.38 / 4.2.30 / 4.3.28 QEMU FDC Overflow RCE (VENOM)
- 130056 - Oracle VM VirtualBox 5.2.x < 5.2.34 / 6.0.x < 6.0.14 (Oct 2019 CPU)
- 86567 - Oracle VM VirtualBox < 4.0.30 / 4.1.38 / 4.2.30 / 4.3.26 / 5.0.0 Core DoS (October 2015 CPU)
- 90680 - Oracle VM VirtualBox < 4.3.36 / 5.0.18 Multiple Vulnerabilities (April 2016 CPU)
- 92458 - Oracle VM VirtualBox < 5.0.22 Multiple Vulnerabilities (July 2016 CPU)
- 96609 - Oracle VM VirtualBox 5.0.x < 5.0.32 / 5.1.x < 5.1.14 Multiple Vulnerabilities (January 2017 CPU)
- 99509 - Oracle VM VirtualBox 5.0.x < 5.0.38 / 5.1.x < 5.1.20 (April 2017 CPU)
- 101818 - Oracle VM VirtualBox 5.1.x < 5.1.24 (July 2017 CPU)
- 103930 - Oracle VM VirtualBox 5.1.x < 5.1.30 (October 2017 CPU)
- 94168 - Oracle VM VirtualBox 5.0.x < 5.0.28 / 5.1.x < 5.1.8 Multiple Vulnerabilities (October 2016 CPU)
- 109682 - Oracle VM VirtualBox 5.1.x < 5.1.36 / 5.2.x < 5.2.10 (April 2018 CPU)
- 111208 - Oracle VM VirtualBox < 5.2.16 Multiple Vulnerabilities (July 2018 CPU)
- 118204 - Oracle VM VirtualBox < 5.2.20 Multiple Vulnerabilities (Oct 2018 CPU)
- 106104 - Oracle VM VirtualBox 5.1.x < 5.1.32 / 5.2.x < 5.2.6 (January 2018 CPU)
- 121247 - Oracle VM VirtualBox 5.2.x < 5.2.24 / 6.0.x < 6.0.2 (Jan 2019 CPU)
- 145222 - Oracle VM VirtualBox (Jan 2021 CPU)
- 126778 - Oracle VM VirtualBox 5.2.x < 5.2.32 / 6.0.x < 6.0.10 (Jul 2019 CPU)
- 154246 - Oracle VM VirtualBox (Oct 2021 CPU)
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file virtualbox_4_3_8.nasl version 1.14. For more plugins, visit the Nessus Plugin Library.
Go back to menu.