oss-sec mailing list archives

Re: Bug in bash <= 4.3 [security feature bypassed]


From: Steve Grubb <sgrubb () redhat com>
Date: Tue, 03 Jun 2014 11:08:12 -0400

On Tuesday, June 03, 2014 04:16:31 PM Hector Marco wrote:
Recently we discovered a bug in bash. After some time after reporting
it to bash developers, it has not been fixed.

We think that this is a security issue because in some circumstances
the bash security feature could be bypassed allowing the bash to be a
valid target shell in an attack.

We strongly recommend to patch your bash code.

Why don't fix this bug by simple adding mandatory "if" clause ?
Any comments about this issue are welcomed.


Details at:
http://hmarco.org/bugs/bash_4.3-setuid-bug.html

Aren't the calls to setuid and setgid backwards too? As in "POS36-C. Observe 
correct revocation order while relinquishing privileges"

-Steve


Current thread: