Ubuntu: 2146-1: Sudo vulnerabilities
Posted by Benjamin D. Thomas   
Ubuntu Several security issues were fixed in Sudo.
==========================================================================
Ubuntu Security Notice USN-2146-1
March 13, 2014

sudo vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 13.10
- Ubuntu 12.10
- Ubuntu 12.04 LTS
- Ubuntu 10.04 LTS

Summary:

Several security issues were fixed in Sudo.

Software Description:
- sudo: Provide limited super user privileges to specific users

Details:

Sebastien Macke discovered that Sudo incorrectly handled blacklisted
environment variables when the env_reset option was disabled. A local
attacker could use this issue to possibly run unintended commands by using
blacklisted environment variables. In a default Ubuntu installation, the
env_reset option is enabled by default. This issue only affected Ubuntu
10.04 LTS and Ubuntu 12.04 LTS. (CVE-2014-0106)

It was discovered that the Sudo init script set a date in the past on
existing timestamp files instead of using epoch to invalidate them
completely. A local attacker could possibly modify the system time to
attempt to reuse timestamp files. This issue only applied to Ubuntu
12.04 LTS, Ubuntu 12.10 and Ubuntu 13.10. (LP: #1223297)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 13.10:
  sudo                            1.8.6p3-0ubuntu3.1
  sudo-ldap                       1.8.6p3-0ubuntu3.1

Ubuntu 12.10:
  sudo                            1.8.5p2-1ubuntu1.2
  sudo-ldap                       1.8.5p2-1ubuntu1.2

Ubuntu 12.04 LTS:
  sudo                            1.8.3p1-1ubuntu3.6
  sudo-ldap                       1.8.3p1-1ubuntu3.6

Ubuntu 10.04 LTS:
  sudo                            1.7.2p1-1ubuntu5.7
  sudo-ldap                       1.7.2p1-1ubuntu5.7

In general, a standard system update will make all the necessary changes.

References:
  http://www.ubuntu.com/usn/usn-2146-1
  CVE-2014-0106, https://launchpad.net/bugs/1223297

Package Information:
  https://launchpad.net/ubuntu/+source/sudo/1.8.6p3-0ubuntu3.1
  https://launchpad.net/ubuntu/+source/sudo/1.8.5p2-1ubuntu1.2
  https://launchpad.net/ubuntu/+source/sudo/1.8.3p1-1ubuntu3.6
  https://launchpad.net/ubuntu/+source/sudo/1.7.2p1-1ubuntu5.7