Red Hat Bugzilla – Bug 139671
CAN-2004-1051 Bash scripts run via Sudo can be subverted
Last modified: 2007-11-30 17:07:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)
Description of problem:
A flaw in exists in sudo's environment sanitizing prior to sudo
version 1.6.8p2 that could allow a malicious user with permission to
run a shell script that utilized the bash shell to run arbitrary
commands. The /bin/sh shell on most (if not all) Linux systems is bash.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
See URL: http://www.sudo.ws/sudo/alerts/bash_functions.html
Actual Results: Local user gains root privs
Please see bug 139478 for additional information regarding this issue.