Debian DLA-249-1 : qemu-kvm security update (Venom) - Nessus

High   Plugin ID: 84295

This page contains detailed information about the Debian DLA-249-1 : qemu-kvm security update (Venom) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 84295
Name: Debian DLA-249-1 : qemu-kvm security update (Venom)
Filename: debian_DLA-249.nasl
Vulnerability Published: N/A
This Plugin Published: 2015-06-22
Last Modification Time: 2021-01-11
Plugin Version: 2.8
Plugin Type: local
Plugin Family: Debian Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/Debian/dpkg-l, Host/Debian/release, Host/local_checks_enabled

Vulnerability Information


Severity: High
Vulnerability Published: N/A
Patch Published: 2015-06-19
CVE [?]: CVE-2015-3456
CPE [?]: cpe:/o:debian:debian_linux:6.0, p-cpe:/a:debian:debian_linux:kvm, p-cpe:/a:debian:debian_linux:qemu-kvm, p-cpe:/a:debian:debian_linux:qemu-kvm-dbg
In the News: True

Synopsis

The remote Debian host is missing a security update.

Description

A vulnerability was discovered in the qemu virtualisation solution :

CVE-2015-3456

Jason Geffner discovered a buffer overflow in the emulated floppy disk drive, resulting in the potential execution of arbitrary code.

Despite the end-of-life of qemu-kvm support in the old-oldstable distribution (squeeze-lts), this problem has been fixed in version 0.12.5+dfsg-5+squeeze11 of the qemu-kvm source package due to its severity (the so-called VENOM vulnerability).

Further problems may still be present in the qemu-kvm package in the old-oldstable distribution (squeeze-lts) and users who need to rely on qemu-kvm are encouraged to upgrade to a newer version of Debian.

We recommend that you upgrade your qemu-kvm packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected kvm, qemu-kvm, and qemu-kvm-dbg packages.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (GitHub, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Debian DLA-249-1 : qemu-kvm security update (Venom) vulnerability:

  1. GitHub: https://github.com/RedHatOfficial/rhsecapi
    [CVE-2015-3456]
  2. GitHub: https://github.com/RedHatProductSecurity/cve-pylib
    [CVE-2015-3456]
  3. GitHub: https://github.com/orf53975/poisonfrog
    [CVE-2015-3456: A VENOM (CVE-2015-3456) Exploit / PoC written in C.]
  4. GitHub: https://github.com/takuzoo3868/laputa
    [CVE-2015-3456]
  5. GitHub: https://github.com/vincentbernat/cve-2015-3456
    [CVE-2015-3456: Experiments related to CVE-2015-3456]

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:A/AC:L/Au:S/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:7.7 (High)
Impact Subscore:10.0
Exploitability Subscore:5.1
CVSS Temporal Score:6.4 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.4 (Medium)

Go back to menu.

Plugin Source


This is the debian_DLA-249.nasl nessus plugin source code. This script is Copyright (C) 2015-2021 Tenable Network Security, Inc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Debian Security Advisory DLA-249-1. The text
# itself is copyright (C) Software in the Public Interest, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(84295);
  script_version("2.8");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/11");

  script_cve_id("CVE-2015-3456");
  script_bugtraq_id(74640);

  script_name(english:"Debian DLA-249-1 : qemu-kvm security update (Venom)");
  script_summary(english:"Checks dpkg output for the updated packages.");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote Debian host is missing a security update."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"A vulnerability was discovered in the qemu virtualisation solution :

CVE-2015-3456

Jason Geffner discovered a buffer overflow in the emulated floppy disk
drive, resulting in the potential execution of arbitrary code.

Despite the end-of-life of qemu-kvm support in the old-oldstable
distribution (squeeze-lts), this problem has been fixed in version
0.12.5+dfsg-5+squeeze11 of the qemu-kvm source package due to its
severity (the so-called VENOM vulnerability).

Further problems may still be present in the qemu-kvm package in the
old-oldstable distribution (squeeze-lts) and users who need to rely on
qemu-kvm are encouraged to upgrade to a newer version of Debian.

We recommend that you upgrade your qemu-kvm packages.

NOTE: Tenable Network Security has extracted the preceding description
block directly from the DLA security advisory. Tenable has attempted
to automatically clean and format it as much as possible without
introducing additional issues."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://lists.debian.org/debian-lts-announce/2015/06/msg00015.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://packages.debian.org/source/squeeze-lts/qemu-kvm"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Upgrade the affected kvm, qemu-kvm, and qemu-kvm-dbg packages."
  );
  script_set_cvss_base_vector("CVSS2#AV:A/AC:L/Au:S/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:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:kvm");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:qemu-kvm");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:qemu-kvm-dbg");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:6.0");

  script_set_attribute(attribute:"patch_publication_date", value:"2015/06/19");
  script_set_attribute(attribute:"in_the_news", value:"true");
  script_set_attribute(attribute:"plugin_publication_date", value:"2015/06/22");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2015-2021 Tenable Network Security, Inc.");
  script_family(english:"Debian Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");

  exit(0);
}


include("audit.inc");
include("debian_package.inc");


if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);


flag = 0;
if (deb_check(release:"6.0", prefix:"kvm", reference:"0.12.5+dfsg-5+squeeze11")) flag++;
if (deb_check(release:"6.0", prefix:"qemu-kvm", reference:"0.12.5+dfsg-5+squeeze11")) flag++;
if (deb_check(release:"6.0", prefix:"qemu-kvm-dbg", reference:"0.12.5+dfsg-5+squeeze11")) flag++;

if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get());
  else security_hole(0);
  exit(0);
}
else audit(AUDIT_HOST_NOT, "affected");

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/debian_DLA-249.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\debian_DLA-249.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/debian_DLA-249.nasl

Go back to menu.

How to Run


Here is how to run the Debian DLA-249-1 : qemu-kvm security update (Venom) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Debian Local Security Checks plugin family.
  6. On the right side table select Debian DLA-249-1 : qemu-kvm security update (Venom) plugin ID 84295.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. 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 debian_DLA-249.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a debian_DLA-249.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - debian_DLA-249.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 debian_DLA-249.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 83419 - CentOS 7 : qemu-kvm (CESA-2015:0999) (Venom)
  • 104999 - Check Point Gaia Operating System VM escape and code execution (sk106060)(VENOM)
  • 83763 - Citrix XenServer QEMU FDC Buffer Overflow RCE (CTX201078) (VENOM)
  • 84294 - Debian DLA-248-1 : qemu security update (Venom)
  • 84551 - Debian DLA-268-1 : virtualbox-ose security update (Venom)
  • 83532 - Debian DSA-3262-1 : xen - security update (Venom)
  • 83889 - Debian DSA-3274-1 : virtualbox - security update (Venom)
  • 83749 - F5 Networks BIG-IP : QEMU vulnerability (SOL16620) (Venom)
  • 83445 - Oracle Linux 7 : qemu-kvm (ELSA-2015-0999) (Venom)
  • 83446 - Oracle Linux 5 : xen (ELSA-2015-1002) (Venom)
  • 83482 - OracleVM 3.3 : xen (OVMSA-2015-0057) (Venom)
  • 83483 - OracleVM 3.2 : xen (OVMSA-2015-0058) (Venom)
  • 83484 - OracleVM 2.2 : xen (OVMSA-2015-0059) (Venom)
  • 84140 - OracleVM 3.2 : xen (OVMSA-2015-0068) (POODLE) (Venom)
  • 83426 - RHEL 7 : qemu-kvm (RHSA-2015:0999) (Venom)
  • 83427 - RHEL 7 : qemu-kvm-rhev (RHSA-2015:1000) (Venom)
  • 83428 - RHEL 6 : qemu-kvm-rhev (RHSA-2015:1001) (Venom)
  • 83536 - RHEL 7 : rhev-hypervisor (RHSA-2015:1011) (Venom)
  • 83844 - RHEL 6 : qemu-kvm (RHSA-2015:1031) (Venom)
  • 83852 - SUSE SLES10 Security Update : Xen (SUSE-SU-2015:0889-2) (Venom)
  • 83757 - SUSE SLED12 / SLES12 Security Update : xen (SUSE-SU-2015:0923-1) (Venom)
  • 83853 - SUSE SLED11 / SLES11 Security Update : Xen (SUSE-SU-2015:0927-1) (Venom)
  • 83854 - SUSE SLES11 Security Update : KVM (SUSE-SU-2015:0929-1) (Venom)
  • 83856 - SUSE SLES11 Security Update : Xen (SUSE-SU-2015:0940-1) (Venom)
  • 83858 - SUSE SLES11 Security Update : KVM (SUSE-SU-2015:0943-1) (Venom)
  • 83859 - SUSE SLES11 Security Update : Xen (SUSE-SU-2015:0944-1) (Venom)
  • 83729 - Oracle VM VirtualBox < 3.2.28 / 4.0.30 / 4.1.38 / 4.2.30 / 4.3.28 QEMU FDC Overflow RCE (VENOM)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file debian_DLA-249.nasl version 2.8. For more plugins, visit the Nessus Plugin Library.

Go back to menu.