GLSA 201606-13: sudo: Unauthorized privilege escalation in sudoedit

Severity:normal
Title:sudo: Unauthorized privilege escalation in sudoedit
Date:06/26/2016
Bugs: #564774
ID:201606-13

Synopsis

sudo is vulnerable to an escalation of privileges via a symlink attack.

Background

sudo (su “do”) allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-admin/sudo < 1.8.15-r1 >= 1.8.15-r1 All supported architectures

Description

sudoedit in sudo is vulnerable to the escalation of privileges by local users via a symlink attack. This can be exploited by a file whose full path is defined using multiple wildcards in /etc/sudoers, as demonstrated by “/home///file.txt.

Impact

Local users are able to gain unauthorized privileges on the system.

Workaround

There is no known work around at this time.

Resolution

All sudo users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=app-admin/sudo-1.8.15-r1"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201606-13.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!