Re:CVE-2014-6271: Remote code execution through bash
by ak217 on Wednesday September 24, 2014 @03:26PM
(#8363572)
Yes - the shell currently running is probably the user's login shell, and the shell in e.g. /usr/local/bin/bash was probably installed by Homebrew or MacPorts.
Re:CVE-2014-6271: Remote code execution through bash
by super_mario on Wednesday September 24, 2014 @05:50PM
(#8364359)
That could be the reason. I have renamed /bin/bash version 3.2 to /bin/bash3 and copied /usr/local/bin/bash that I build myself to /bin/bash making effectively bash version 4.3 the default login and system shell.
I started bash 3.2 from bash 4.3 so that could be the reason why it is not vulnerable as child process.
Re:CVE-2014-6271: Remote code execution through bash
by daveloyall on Wednesday September 24, 2014 @03:26PM
(#8363571)
Excellent insight!
In other words, I suspect that:
and Will report different version numbers.If you start a new terminal and try `echo $BASH_VERSION`, you will probably see a different version as well.