Bug 139671 - CAN-2004-1051 Bash scripts run via Sudo can be subverted
Summary: CAN-2004-1051 Bash scripts run via Sudo can be subverted
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: sudo
Version: 3.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Karel Zak
QA Contact:
URL: http://www.sudo.ws/sudo/alerts/bash_f...
Whiteboard: impact=low,public=20041111
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-17 12:20 UTC by Richard Leyton
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-10 13:42:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Richard Leyton 2004-11-17 12:20:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

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):
sudo-1.6.7p5-1

How reproducible:
Always

Steps to Reproduce:
See URL: http://www.sudo.ws/sudo/alerts/bash_functions.html

Actual Results:  Local user gains root privs

Additional info:

Comment 1 Josh Bressers 2004-11-18 10:58:58 UTC
Please see bug 139478 for additional information regarding this issue.


Note You need to log in before you can comment on or make changes to this bug.