Live data from Hacker News

Re: CVE-2014-6271 – remote code execution through bash

seclists.org

1–10 of 52 posts

Re: Re: CVE-2014-6271 – remote code execution through bash

#6
post #3

Ubuntu: http://people.canonical.com/~ubuntu-security/cve/2014/CVE-20... RHEL: https://rhn.redhat.com/errata/RHSA-2014-1306.html CentOS update is available also - just not on some mirrors yet.

I just patched my CentOS 6 server a few hours ago. Double check yum.

Re: Re: CVE-2014-6271 – remote code execution through bash

#8
Not having worked with bash (et al) in ages I wonder whether allowing a function definition (even without trailing commands) is not still hole? What if you defined a function 'ls() { evil... }'... could a CGI script making a call to 'ls' actually end up with the function instead of the real 'ls'?

Re: Re: CVE-2014-6271 – remote code execution through bash

#9
post #3

Ubuntu: http://people.canonical.com/~ubuntu-security/cve/2014/CVE-20... RHEL: https://rhn.redhat.com/errata/RHSA-2014-1306.html CentOS update is available also - just not on some mirrors yet.

I just patched my CentOS 6 server a few hours ago. Double check yum.

I patched mine about 10 hours ago. Is this one newer?

Re: Re: CVE-2014-6271 – remote code execution through bash

#10
post #8

Not having worked with bash (et al) in ages I wonder whether allowing a function definition (even without trailing commands) is not still hole? What if you defined a function 'ls() { evil... }'... could a CGI script making a call to 'ls' actually end up with the function instead of the real 'ls'?

Yes, but if you can control enviroment variable names then you can also set LD_PRELOAD and a whole load of other nasty enviroment variables.
Post reply on HN