• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Are you safe from Shellshock if Bash is not your default shell?  RSS feed

Posts: 13456
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some comments I've seen recently seem to imply that if your default shell is not Bash then you're not vulnerable to the Shellshock bug.

However, the Shellshock FAQ says (emphasis mine):

Michael Lin and Larry Seltzer wrote:Bash can be called directly by the CGI (i.e. A Bash script), or it could be called via a subprocess or system command. If Bash is started at any point within the context of this malicious CGI request, then the vulnerability will be triggered.

I think this means that it doesn't matter whether Bash is your default shell or not. As long as it's installed on the vulnerable system and an attacker can formulate the right command to injectdo something to start Bash, you still have a risk of getting pwned.
Posts: 42974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct : the vulnerability concerns bash being run; it's not relevant what the default shell is. Executing a shell script that specifies it should be run via bash would also do.
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!