GLSA 201406-27: polkit, Spice-Gtk, systemd, HPLIP, libvirt: Privilege escalation

Severity:high
Title:polkit, Spice-Gtk, systemd, HPLIP, libvirt: Privilege escalation
Date:06/26/2014
Bugs: #484486, #484488, #485420, #485546, #485904
ID:201406-27

Synopsis

A race condition in polkit could allow a local attacker to gain escalated privileges.

Background

polkit is a toolkit for managing policies relating to unprivileged processes communicating with privileged processes.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-print/hplip < 3.14.1 >= 3.14.1 All supported architectures
net-misc/spice-gtk < 0.21 >= 0.21 All supported architectures
sys-apps/systemd < 204-r1 >= 204-r1 All supported architectures
app-emulation/libvirt < 1.1.2-r3 >= 1.1.2-r3 All supported architectures
sys-auth/polkit < 0.112 >= 0.112 All supported architectures

Description

polkit has a race condition which potentially allows a process to change its UID/EUID via suid or pkexec before authentication is completed.

Impact

A local attacker could start a suid or pkexec process through a polkit-enabled application, which could result in privilege escalation or bypass of polkit restrictions.

Workaround

There is no known workaround at this time.

Resolution

All polkit users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=sys-auth/polkit-0.112"
    

All HPLIP users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-print/hplip-3.14.1"

All Spice-Gtk users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/spice-gtk-0.21"

All systemd users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/systemd-204-r1"

All libvirt users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-emulation/libvirt-1.1.2-r3"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201406-27.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!