News for hackers. Stuff that matters.
Re:No one expects command execution by ajkjk on Friday July 03, 2015 @02:29PM (#9827165)
Did this article make you angry? Why do you call it a trainwreck?
Re:No one expects command execution by rylee on Friday July 03, 2015 @03:18PM (#9827448)
The article is literally "If you tell these utilities to execute this script, they'll execute this script". NONE of these should be "unexpected".
Re:No one expects command execution by jjoonathan on Friday July 03, 2015 @03:51PM (#9827595)
Not the point. Of course it's not surprising that these utilities will execute scripts if you tell them to. The unexpected fact is that you can tell them to -- and that this is documented behavior which probably isn't going away.

If your argument was that no programmer should be surprised that you can tell an archive utility to execute an arbitrary script, then you and the author of the post are in complete agreement. The remaining difference is that the article actually does something to fix the problem while you merely hurl an implicit insult at anyone who hasn't seen this type of privilege escalation yet. One of these actions is more constructive than the other.

Re:No one expects command execution by d23 on Friday July 03, 2015 @04:02PM (#9827641)
> you merely hurl an implicit insult at anyone who hasn't seen this type of privilege escalation yet

You and I have vastly different opinions on what constitutes privilege escalation.

Re:No one expects command execution by jjoonathan on Friday July 03, 2015 @08:58PM (#9828697)
I'm not a security researcher. Care to recommend a more appropriate term for the data -> execution stage as opposed to the user -> root stage which is more commonly associated with the term "privilege escalation"?
Re:No one expects command execution by ajkjk on Friday July 03, 2015 @07:35PM (#9828482)
I don't disagree, but, as a relative novice with shell scripts, I definitely did not realize so many tools could execute arbitrary code.

The parent post's anger and disgust is misplaced, though. This article is informative at a novice level, and well-written to that level. Not a trainwreck.

Re:No one expects command execution by jcape on Friday July 03, 2015 @08:05PM (#9828570)
Because it is treating all of these intended side-effects of using a shell as though they are security vulnerabilities.

The problem is that there is a way for untrusted user input to ever touch a shell in the first place.

Seriously, I challenge you to find a language reference that doesn't decry the use of their version of system(3)---because all that does is run the given command under the user's shell.

Re:No one expects command execution by ajkjk on Friday July 03, 2015 @11:22PM (#9829013)
Sure, fine, but why the anger? Why the 'trainwreck'? that's not constructive at all. The article definitely didn't claim these were security vulnerabilities - only that they were surprising. Some of these were surprising to me too. Am I an idiot for not knowing these? (no, I'm not, I'm just a novice).

It's really aggravating to learn something from an article that is making someone more knowledgeable this angry without explanation.