USN-1442-1: Sudo vulnerability

Publication date

16 May 2012

Overview

Sudo could allow users to run arbitrary programs as the administrator.


Packages

  • sudo - Provide limited super user privileges to specific users

Details

It was discovered that sudo incorrectly handled network masks when using Host
and Host_List. A local user who is listed in sudoers may be allowed to run
commands on unintended hosts when IPv4 network masks are used to grant access.
A local attacker could exploit this to bypass intended access restrictions. Host
and Host_List are not used in the default installation of Ubuntu.

It was discovered that sudo incorrectly handled network masks when using Host
and Host_List. A local user who is listed in sudoers may be allowed to run
commands on unintended hosts when IPv4 network masks are used to grant access.
A local attacker could exploit this to bypass intended access restrictions. Host
and Host_List are not used in the default installation of Ubuntu.

Update instructions

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
8.04 hardy sudo-ldap –  1.6.9p10-1ubuntu3.9
sudo –  1.6.9p10-1ubuntu3.9
12.04 precise sudo-ldap –  1.8.3p1-1ubuntu3.2
sudo –  1.8.3p1-1ubuntu3.2
11.10 oneiric sudo-ldap –  1.7.4p6-1ubuntu2.1
sudo –  1.7.4p6-1ubuntu2.1
11.04 natty sudo-ldap –  1.7.4p4-5ubuntu7.2
sudo –  1.7.4p4-5ubuntu7.2
10.04 lucid sudo-ldap –  1.7.2p1-1ubuntu5.4
sudo –  1.7.2p1-1ubuntu5.4

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›