![]() |
|
ESB-2013.0512 - [Linux][RedHat] kvm: Administrator Compromise - Existing Account |
|
Date: 10 April 2013 Original URL: http://www.auscert.org.au/render.html?cid=1980&it=17348 References: ESB-2013.0573 ESB-2013.0572 ESB-2013.0645 Click here for PGP verifiable version -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
===========================================================================
AUSCERT External Security Bulletin Redistribution
ESB-2013.0512
Important: kvm security update
10 April 2013
===========================================================================
AusCERT Security Bulletin Summary
---------------------------------
Product: kvm
Publisher: Red Hat
Operating System: Red Hat Enterprise Linux Server 5
Red Hat Enterprise Linux WS/Desktop 5
Linux variants
Impact/Access: Administrator Compromise -- Existing Account
Denial of Service -- Existing Account
Read-only Data Access -- Existing Account
Resolution: Patch/Upgrade
CVE Names: CVE-2013-1798 CVE-2013-1797 CVE-2013-1796
Original Bulletin:
https://rhn.redhat.com/errata/RHSA-2013-0727.html
Comment: This advisory references vulnerabilities in products which run on
platforms other than Red Hat. It is recommended that administrators
running kvm check for an updated version of the software for their
operating system.
- --------------------------BEGIN INCLUDED TEXT--------------------
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=====================================================================
Red Hat Security Advisory
Synopsis: Important: kvm security update
Advisory ID: RHSA-2013:0727-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2013-0727.html
Issue date: 2013-04-09
CVE Names: CVE-2013-1796 CVE-2013-1797 CVE-2013-1798
=====================================================================
1. Summary:
Updated kvm packages that fix three security issues are now available for
Red Hat Enterprise Linux 5.
The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.
2. Relevant releases/architectures:
RHEL Desktop Multi OS (v. 5 client) - x86_64
RHEL Virtualization (v. 5 server) - x86_64
3. Description:
KVM (Kernel-based Virtual Machine) is a full virtualization solution for
Linux on AMD64 and Intel 64 systems. KVM is a Linux kernel module built for
the standard Red Hat Enterprise Linux kernel.
A flaw was found in the way KVM handled guest time updates when the buffer
the guest registered by writing to the MSR_KVM_SYSTEM_TIME machine state
register (MSR) crossed a page boundary. A privileged guest user could use
this flaw to crash the host or, potentially, escalate their privileges,
allowing them to execute arbitrary code at the host kernel level.
(CVE-2013-1796)
A potential use-after-free flaw was found in the way KVM handled guest time
updates when the GPA (guest physical address) the guest registered by
writing to the MSR_KVM_SYSTEM_TIME machine state register (MSR) fell into a
movable or removable memory region of the hosting user-space process (by
default, QEMU-KVM) on the host. If that memory region is deregistered from
KVM using KVM_SET_USER_MEMORY_REGION and the allocated virtual memory
reused, a privileged guest user could potentially use this flaw to
escalate their privileges on the host. (CVE-2013-1797)
A flaw was found in the way KVM emulated IOAPIC (I/O Advanced Programmable
Interrupt Controller). A missing validation check in the
ioapic_read_indirect() function could allow a privileged guest user to
crash the host, or read a substantial portion of host kernel memory.
(CVE-2013-1798)
Red Hat would like to thank Andrew Honig of Google for reporting all of
these issues.
All users of kvm are advised to upgrade to these updated packages, which
contain backported patches to correct these issues. Note that the procedure
in the Solution section must be performed before this update will take
effect.
4. Solution:
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258
The following procedure must be performed before this update will take
effect:
1) Stop all KVM guest virtual machines.
2) Either reboot the hypervisor machine or, as the root user, remove (using
"modprobe -r [module]") and reload (using "modprobe [module]") all of the
following modules which are currently running (determined using "lsmod"):
kvm, ksm, kvm-intel or kvm-amd.
3) Restart the KVM guest virtual machines.
5. Bugs fixed (http://bugzilla.redhat.com/):
917012 - CVE-2013-1796 kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME
917013 - CVE-2013-1797 kernel: kvm: after free issue with the handling of MSR_KVM_SYSTEM_TIME
917017 - CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads
6. Package List:
RHEL Desktop Multi OS (v. 5 client):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/kvm-83-262.el5_9.3.src.rpm
x86_64:
kmod-kvm-83-262.el5_9.3.x86_64.rpm
kmod-kvm-debug-83-262.el5_9.3.x86_64.rpm
kvm-83-262.el5_9.3.x86_64.rpm
kvm-debuginfo-83-262.el5_9.3.x86_64.rpm
kvm-qemu-img-83-262.el5_9.3.x86_64.rpm
kvm-tools-83-262.el5_9.3.x86_64.rpm
RHEL Virtualization (v. 5 server):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/kvm-83-262.el5_9.3.src.rpm
x86_64:
kmod-kvm-83-262.el5_9.3.x86_64.rpm
kmod-kvm-debug-83-262.el5_9.3.x86_64.rpm
kvm-83-262.el5_9.3.x86_64.rpm
kvm-debuginfo-83-262.el5_9.3.x86_64.rpm
kvm-qemu-img-83-262.el5_9.3.x86_64.rpm
kvm-tools-83-262.el5_9.3.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package
7. References:
https://www.redhat.com/security/data/cve/CVE-2013-1796.html
https://www.redhat.com/security/data/cve/CVE-2013-1797.html
https://www.redhat.com/security/data/cve/CVE-2013-1798.html
https://access.redhat.com/security/updates/classification/#important
8. Contact:
The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2013 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFRZFs9XlSAg2UNWIIRAgXrAKCJNuXie+en5fIBJwNvLrtiVDgI4wCdF+f3
H9YtbsKYBtDBNNpNE7XIrRE=
=veGI
- -----END PGP SIGNATURE-----
- --------------------------END INCLUDED TEXT--------------------
You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.
NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members. As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.
NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.
Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.
Previous advisories and external security bulletins can be retrieved from:
http://www.auscert.org.au/render.html?cid=1980
===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072
Internet Email: auscert@auscert.org.au
Facsimile: (07) 3365 7031
Telephone: (07) 3365 4417 (International: +61 7 3365 4417)
AusCERT personnel answer during Queensland business hours
which are GMT+10:00 (AEST).
On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967
iQIVAwUBUWUM7+4yVqjM2NGpAQKg0xAAoD6U7dCAigxf241+SEID+DqtICp8UQH2
aSm1fmZTR0s/3Wo3JNbV9J7S54+z3Gmv2eB37zoHbRvgFHm7R97EAGRJyZuJhCta
ycdJmZLzZcKwoDM6SCvy/INkV4wgk1XT68C2MbxueClsVu8J9VNnHS7umpaqmN2C
/AkciD7nSOoRrAHYTNUMeC3G0WQzlAUyyqhpPUwVqtpDHffCpIde+cfIiBSjgU1I
+UwVIJ02l8zw/SLI4nhdDRYxHkyLfaASEe7Okk6ZSBQoya4LAcubsM+fc9toNiKX
6xb4xweLHueZHiuTy6pSd5hsFoKyS5VMxl1etM7jKbod0fe3FLzHjnq//k1E8kqz
6h3oN/cLrsZW/JXPReDXzNUipOUSQjXO9T1IX/YzD5zMdiVbo65aqOiBVcbWAfrq
o8ruwhdiUltv6wS/Ghi7VCTdxN+JGYFoU7hddGd1IExDE+Ee11H5W/8V+4KhefQW
7DewnFPWPtkTZx6uqGlzAKUld9h/f5oJB5TQKFvOHwpS98AsQHp1gKlu3Z2Swjjw
1qmSUjxI2sjlKLaiVu9GrsdCF1OOPmAxBywO+QweWxRNPMmfg1qVFNokFkOzzPvm
GB4+S9eFsXtQGHnCP56Qimlu5xCjG1rw5h8CCnbP7NzQ/0QJmJVG+F1Bp+yDte4X
MJJdeIhhrAA=
=/NSe
-----END PGP SIGNATURE-----
|