Skip to content

Instantly share code, notes, and snippets.

@ceme
Created September 25, 2014 17:23
Show Gist options
  • Save ceme/3dc5033fb635e66c590e to your computer and use it in GitHub Desktop.
Save ceme/3dc5033fb635e66c590e to your computer and use it in GitHub Desktop.
Test for Bash Code Injection Vulnerability via Specially Crafted Environment Variables (CVE-2014-6271, CVE-2014-7169)
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
@ceme
Copy link
Author

ceme commented Sep 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment