|Public release ||2013-05-06 15:00|
|Updated ||2013-05-06 21:18|
|Title ||qemu guest agent (qga) insecure file permissions|
Filesadvisory-51.txt (signed advisory file)
-----BEGIN PGP SIGNED MESSAGE-----
Xen Security Advisory CVE-2013-2007 / XSA-51
qemu guest agent (qga) insecure file permissions
UPDATES IN VERSION 2
The qemu guest agent creates files with insecure permissions when
started in daemon mode.
The qemu guest agent is not used by default in Xen systems.
If it is used in a particular guest, unprivileged guest processes
might be able to escalate their privilege to that of the guest.
We are not aware of any Xen installations using the qemu guest agent.
However, the program is built and installed (as the executable
`qemu-ga') as part of the Xen management tools by the Xen build
system. It is possible that a system administrator, or downstream
system integrator, might have arranged to execute qemu-ga.
If you have not taken steps to run qemu-ga, you are not vulnerable.
Disabling the guest agent will eliminate the vulnerability.
Patches to resolve this problem are available from the upstream qemu
project via the usual channels. The Xen Project Security Team do not
intend to provide or distribute patches for this vulnerability.
At the time of writing the information we have about this
vulnerability is as follows:
Subject: [PATCH] qga: set umask 0077 when daemonizing (CVE-2013-2007)
The qemu guest agent creates a bunch of files with insecure permissions
when started in daemon mode. For example:
-rw-rw-rw- 1 root root /var/log/qemu-ga.log
-rw-rw-rw- 1 root root /var/run/qga.state
-rw-rw-rw- 1 root root /var/log/qga-fsfreeze-hook.log
In addition, at least all files created with the "guest-file-open" QMP
command, and all files created with shell output redirection (or
otherwise) by utilities invoked by the fsfreeze hook script are affected.
For authoritative further information, and patches, please refer to
the information provided by the qemu upstream project.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-----END PGP SIGNATURE-----
Xenproject.org Security Team