oss-sec mailing list archives

CVE-2013-4419: libguestfs insecure handling of socket file


From: Vincent Danen <vdanen () redhat com>
Date: Fri, 18 Oct 2013 09:18:26 -0600

As reported to the linux-distros mailing list:


libguestfs is a library for accessing and modifying guest disk images.
It was found that guestfish, which enables shell scripting and command
line access to libguestfs, insecurely created the temporary directory
used to store the network socket when started in server mode (using the
"--listen" option). If guestfish were run with the "--listen" option, a
local attacker could use this flaw to intercept and modify other users'
guestfish commands, allowing them to perform arbitrary guestfish actions
(such as modifying virtual machines) with the privileges of a different
user, or use this flaw to obtain authentication credentials.

This issue was discovered by Michael Scherer of the Red Hat Regional IT
team.

Further details are available in our bug, including the patch.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1016960
https://www.redhat.com/archives/libguestfs/2013-October/msg00031.html

--
Vincent Danen / Red Hat Security Response Team

Current thread: