3 ms·
The problem really is with calls like system("command") which ultimately translate to: '/bin/sh -c "command"'. That is definitely a problem, but it's not the o
by nitrogen 12y ago
The problem really is with calls like system("command") which ultimately translate to: '/bin/sh -c "command"'.
That is definitely a problem, but it's not the only problem. Try running this from /usr/bin (it returns lots of results on Linux Mint, Ubuntu, or Debian):
grep -nR '#!.*bash' * | grep :1:
Just as a random example, on an unpatched Debian wheezy system /usr/bin/fakeroot is vulnerable:
$ x='() { :;}; echo vulnerable' /usr/bin/fakeroot
vulnerable