USN-213-1: sudo vulnerability

28 October 2005

sudo vulnerability

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

  • Ubuntu 5.10
  • Ubuntu 5.04
  • Ubuntu 4.10

Software Description

Details

Tavis Ormandy discovered a privilege escalation vulnerability in sudo. On executing shell scripts with sudo, the “P4” and “SHELLOPTS” environment variables were not cleaned properly. If sudo is set up to grant limited sudo privileges to normal users this could be exploited to run arbitrary commands as the target user.

Updated packags for Ubuntu 4.10:

Update instructions

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

Ubuntu 5.10
sudo
Ubuntu 5.04
sudo
Ubuntu 4.10
sudo

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

References