CentOS Update for qemu-guest-agent CESA-2013:0896 centos6. The update fixes a vulnerability that allows unprivileged users to modify or consume log files and escalate privileges in the guest. It also addresses bugs related to memory size reporting and network card status changes
Reporter | Title | Published | Views | Family All 36 |
---|---|---|---|---|
![]() | (RHSA-2013:0896) Moderate: qemu-kvm security and bug fix update | 3 Jun 201300:00 | – | redhat |
![]() | (RHSA-2013:0791) Moderate: qemu-kvm-rhev security and bug fix update | 3 Jun 201300:00 | – | redhat |
![]() | RedHat Update for qemu-kvm RHSA-2013:0896-01 | 4 Jun 201300:00 | – | openvas |
![]() | CentOS Update for qemu-guest-agent CESA-2013:0896 centos6 | 4 Jun 201300:00 | – | openvas |
![]() | SUSE: Security Advisory (SUSE-SU-2013:1214-1) | 9 Jun 202100:00 | – | openvas |
![]() | Oracle: Security Advisory (ELSA-2013-0896) | 6 Oct 201500:00 | – | openvas |
![]() | Mageia: Security Advisory (MGASA-2013-0169) | 28 Jan 202200:00 | – | openvas |
![]() | RedHat Update for qemu-kvm RHSA-2013:0896-01 | 4 Jun 201300:00 | – | openvas |
![]() | Fedora Update for qemu FEDORA-2013-11407 | 2 Jul 201300:00 | – | openvas |
![]() | Fedora Update for qemu FEDORA-2013-11407 | 2 Jul 201300:00 | – | openvas |
# SPDX-FileCopyrightText: 2013 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.881744");
script_version("2023-07-10T08:07:43+0000");
script_tag(name:"last_modification", value:"2023-07-10 08:07:43 +0000 (Mon, 10 Jul 2023)");
script_tag(name:"creation_date", value:"2013-06-04 09:19:09 +0530 (Tue, 04 Jun 2013)");
script_cve_id("CVE-2013-2007");
script_tag(name:"cvss_base", value:"6.9");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
script_name("CentOS Update for qemu-guest-agent CESA-2013:0896 centos6");
script_xref(name:"CESA", value:"2013:0896");
script_xref(name:"URL", value:"http://lists.centos.org/pipermail/centos-announce/2013-June/019775.html");
script_tag(name:"summary", value:"The remote host is missing an update for the 'qemu-guest-agent'
package(s) announced via the referenced advisory.");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2013 Greenbone AG");
script_family("CentOS Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/centos", "ssh/login/rpms", re:"ssh/login/release=CentOS6");
script_tag(name:"affected", value:"qemu-guest-agent on CentOS 6");
script_tag(name:"solution", value:"Please install the updated packages.");
script_tag(name:"insight", value:"KVM (Kernel-based Virtual Machine) is a full virtualization solution for
Linux on AMD64 and Intel 64 systems. qemu-kvm is the user-space component
for running virtual machines using KVM.
It was found that QEMU Guest Agent (the qemu-ga service) created
certain files with world-writable permissions when run in daemon mode
(the default mode). An unprivileged guest user could use this flaw to
consume all free space on the partition containing the qemu-ga log file, or
modify the contents of the log. When a UNIX domain socket transport was
explicitly configured to be used (not the default), an unprivileged guest
user could potentially use this flaw to escalate their privileges in the
guest. This update requires manual action. Refer below for details.
(CVE-2013-2007)
This update does not change the permissions of the existing log file or
the UNIX domain socket. For these to be changed, stop the qemu-ga service,
and then manually remove all group and other permissions on the
affected files, or remove the files.
Note that after installing this update, files created by the
guest-file-open QEMU Monitor Protocol (QMP) command will still continue to
be created with world-writable permissions for backwards compatibility.
This issue was discovered by Laszlo Ersek of Red Hat.
This update also fixes the following bugs:
* Previously, due to integer overflow in code calculations, the qemu-kvm
utility was reporting incorrect memory size on QMP events when using the
virtio balloon driver with more than 4 GB of memory. This update fixes the
overflow in the code and qemu-kvm works as expected in the described
scenario. (BZ#958750)
* When the set_link flag is set to 'off' to change the status of a network
card, the status is changed to down on the respective guest. Previously,
with certain network cards, when such a guest was restarted, the status of
the network card was unexpectedly reset to up, even though the network
was unavailable. A patch has been provided to address this bug and the link
status change is now preserved across restarts for all network cards.
(BZ#927591)
All users of qemu-kvm should upgrade to these updated packages, which
contain backported patches to correct these issues. After installing this
update, shut down all running virtual machines. Once all virtual machines
have shut down, start them again for this update to take effect.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-rpm.inc");
release = rpm_get_ssh_release();
if(!release)
exit(0);
res = "";
if(release == "CentOS6")
{
if ((res = isrpmvuln(pkg:"qemu-guest-agent", rpm:"qemu-guest-agent~0.12.1.2~2.355.0.1.el6.centos.5", rls:"CentOS6")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"qemu-guest-agent-win32", rpm:"qemu-guest-agent-win32~0.12.1.2~2.355.0.1.el6.centos.5", rls:"CentOS6")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"qemu-img", rpm:"qemu-img~0.12.1.2~2.355.0.1.el6.centos.5", rls:"CentOS6")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"qemu-kvm", rpm:"qemu-kvm~0.12.1.2~2.355.0.1.el6.centos.5", rls:"CentOS6")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"qemu-kvm-tools", rpm:"qemu-kvm-tools~0.12.1.2~2.355.0.1.el6.centos.5", rls:"CentOS6")) != NULL)
{
security_message(data:res);
exit(0);
}
if (__pkg_match) exit(99);
exit(0);
}
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo