qemu CVE-2013-2007: guest agent creates files with insecure permissions in deamon mode
The upstream qemu guest agent creates files with insecure permissions when started in daemon mode, which could potentially lead local privilege escalation.
The Red Hat Enterprise Linux 6 qemu-ga, when started in daemon mode,
creates logfiles in /var/log/ world writable allowing any one on the
system to wipe the contents of the log file or to store data within the
log file. An unprivileged guest user could use this flaw to consume all
free space on the partition
with qemu-ga log file, or modify the contents of the log. When a UNIX domain socket transport were explicitly configured to be used (non-default), an unprivileged guest user could potentially use this flaw to escalate their privileges in the guest.
This issue was discovered by Laszlo Ersek of Red Hat.
(from redmine: issue id 2059, created on 2013-06-03, closed on 2013-06-06)
- Revision 0a719315 by Natanael Copa on 2013-06-05T11:30:09Z:
main/qemu: fix 2013-2007 ref #2059 fixes #2061
- Revision 563e2f3d by Natanael Copa on 2013-06-05T12:02:17Z:
main/qemu: security fix CVE-2013-2007 ref #2059 fixes #2063
- Revision ef7cc55e by Natanael Copa on 2013-06-05T13:01:01Z:
main/qemu: security fix CVE-2013-2007 ref #2059 fixes #2062