Remote code execution through bash!

Pandos

  • Living on the edge of Wedge
  • Posts: 635
# dpkg-reconfigure brain
error: brain is not installed or configured

Bunstonious

  • Espada
  • Posts: 204
Quote from Random Guy
Not putting miles on your Ferrari is like not having sex with your Girlfriend so she'll be more desirable to her next Boyfriend

Johnny54

  • Posts: 90

Jurien

  • All i want is a couple days off
  • Posts: 132
Re: Remote code execution through bash!
« Reply #3, on September 25th, 2014, 06:18 PM »Last edited on September 25th, 2014, 06:50 PM
You could check your system if it's vulnerable or not,from a command line, type:
Code: [Select]
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

If the system is vulnerable, the output will be:
Quote
vulnerable
this is a test
An unaffected (or patched) system will output:
Quote
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
 this is a test