Earlier quoted context omitted.
CGI has always been an accident waiting to happen, but hardly anybody uses it anymore anyway, and even more rarely in a manner that invokes bash, of all things. I fail to see how "HTTP requests" generically are a vector, and its "Here is a sample" statement is not a link and is followed by... nothing. This article tells me nothing useful other than "don't allow untrusted data into your environment", which we've all k…
People still shell out to do stuff from scripts from all sorts of languages. Unless these sanitize the environment they would be vulnerable.
CVE-2014-6271: Remote code execution through bash
31–40 of 432 posts
Re: CVE-2014-6271: Remote code execution through bash
#32Earlier quoted context omitted.
CGI has always been an accident waiting to happen, but hardly anybody uses it anymore anyway, and even more rarely in a manner that invokes bash, of all things. I fail to see how "HTTP requests" generically are a vector, and its "Here is a sample" statement is not a link and is followed by... nothing. This article tells me nothing useful other than "don't allow untrusted data into your environment", which we've all k…
> hardly anybody uses it anymore anyway Lots of PHP setups do.
PHP was one of the first to have a dedicated apache module. Perl is much more likely to be CGI.
Re: CVE-2014-6271: Remote code execution through bash
#33Earlier quoted context omitted.
Do you have a source for that? Some articles [0] claim "This affects Debian as well as other Linux distributions." [0] http://www.csoonline.com/article/2687265/application-securit...
Debian7 doesn't look to be vulnerable by default (if the code snippet can be trusted to work): [arch/testbed ~] uname -a Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux [arch/testbed ~] env x='() { :;}; echo vulnerable' bash -c "echo this is a test" bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test
Re: CVE-2014-6271: Remote code execution through bash
#34It is a very good thing that Debian and Ubuntu use /bin/dash for /bin/sh by default, since /bin/sh is implicitly invoked all over the place (e.g. by system(3)). Distros which use /bin/bash for /bin/sh are gonna have a bad time. Edit: not implying that Debian and Ubuntu aren't affected too, just that the impact there will be lessened.
I don't think anybody is worried about software on the system that is using /bin/bash .vs /bin/sh.
Re: CVE-2014-6271: Remote code execution through bash
#35Has the redhat patch been pushed through centos yet?
Re: CVE-2014-6271: Remote code execution through bash
#36Earlier quoted context omitted.
CGI has always been an accident waiting to happen, but hardly anybody uses it anymore anyway, and even more rarely in a manner that invokes bash, of all things. I fail to see how "HTTP requests" generically are a vector, and its "Here is a sample" statement is not a link and is followed by... nothing. This article tells me nothing useful other than "don't allow untrusted data into your environment", which we've all k…
> hardly anybody uses it anymore anyway Lots of PHP setups do.
Re: CVE-2014-6271: Remote code execution through bash
#37env x='() { :;}; echo vulnerable' bash -c "echo this is a test" From https://securityblog.redhat.com/2014/09/24/bash-specially-cr...
Whoa. I tried this, ran pacaur -Suy and .. it's patched. Arch was fast.
Re: CVE-2014-6271: Remote code execution through bash
#38Re: CVE-2014-6271: Remote code execution through bash
#39FreeBSD appears to be affected.