Re:CVE-2014-6271: Remote code execution through bash
by cft on Friday September 26, 2014 @01:42AM
(#8371504)
That script assumes that it is executed as root.
There's indeed a possible problem with /usr/local/bin/bash vs. /bin/bash with Ubuntu update from 8.04 to 10.04 (since Ubuntu 8.04 itself is no longer updateable), thus I asked that question in the end of my post. To mitigate it, one can just add:
mv /usr/local/bin/bash /bin
as the last line.
Once upon a time, distributions documented their build configurations. Or maybe it's that I used to only use FreeBSD.