3 ms·
The real problem is that Bash has a huge attack surface and isn't written with security in mind. With the number of new exploits found here without too much ef
by Animats 12y ago
The real problem is that Bash has a huge attack surface and isn't written with security in mind. With the number of new exploits found here without too much effort, there are almost certainly more yet to be found. (Or already known to attackers.)
- seanp2k2 12y agoYup; as I mentioned before in a previous ShellShock article, it seems like if you want to audit a system against this type of attack, you'd need to examine how every packet coming into the system is handled and what data from that could set envs or invoke a shell. I have a feeling we'll be seeing different variations of this type of attack for a long time now that people are thinking about this type of vulnerability. The ways that this type of thing can be combined with other exploits are both exciting and terrifying.
- bjornsing 12y ago> ...if you want to audit a system against this type of attack, you'd need to examine how every packet coming into the system is handled and what data from that could set envs or invoke a shell. Really? Don't you think its easier to audit the system to ensure that nobody's parsing the entire environment as if it was shell script / function definitions, threatening to execute parts of it as shell commands? Here we're talking about a system made up of several different Unix processes, passing data between them through environment variables, command line arguments, input and output. This seems to affect how people think about the problem in an unfortunate way... Pretend instead that all this happened within one process, e.g. a Ruby program - who would then be responsible for the vulnerability - person A who stored a HTTP request header in a variable or person B who decided to call eval() on that variable? To me it's quite obvious that person B is at fault.
- drvdevd 12y agoTrue. Even shells that are written with security in mind are bound to have some similar bugs, though perhaps not as easy to discover or exploit. I think the bash bugs have exposed some general flaws in the way we continue to trust input both from the internet and between processes in general.