News for hackers. Stuff that matters.
Re:Exec($_GET by elwell on Tuesday April 29, 2014 @02:35AM (#7665359)
Which points out that the context has to considered as well. E.g., if it's a personal intranet or password protected page, this may not be vulnerability.
Re:Exec($_GET by robbles on Tuesday April 29, 2014 @03:20AM (#7665482)
It would still be vulnerable to a CSRF attack. The attacker can just get a logged-in user to launch their exploit, through a vulnerable site they frequent or even a link or image in an email.
Re:Exec($_GET by blueskin_ on Tuesday April 29, 2014 @04:20AM (#7665685)
Theoretically, building CSRF protection in isn't mutually exclusive with passing unsanitised variables to a shell. Although sure, most people who do the latter won't do the former.
Re:Exec($_GET by xai on Tuesday April 29, 2014 @02:52AM (#7665409)
What if a hacker would have access to a user of said personal intranet, or would find a way to bypass the password protected page. Then he'd be able to execute anything on the server, even stuff the user he hacked shouldn't be able to access. So no, this is always a vulnerability.
Re:Exec($_GET by vz0 on Tuesday April 29, 2014 @03:07AM (#7665445)
What about phpMyAdmin and others alike webapps? Are they inherently insecure?
Re:Exec($_GET by coldtea on Tuesday April 29, 2014 @04:04AM (#7665631)
Those are different, as they only do what they are meant to do (give access to the databases).

They don't give untintended full access to the web server.

That said, they are a little insecure.

Re:Exec($_GET by blueskin_ on Tuesday April 29, 2014 @04:22AM (#7665693)
>They don't give unintended full access to the web server.

https://en.wikipedia.org/wiki/Webmin

Maybe not unintended, but definitely full access, and the world is almost certainly full of outdated/non whitelist access/weakly passworded panels.

Also, on a a sufficiently misconfigured server, you could always use \! (mysql's shell_exec, etc.) with phpmyadmin etc. to open a remote shell somewhere, then work from there.

Re:Exec($_GET by utunga on Tuesday April 29, 2014 @02:45AM (#7665394)
Yes. No.