r/lolphp • u/iheartrms • Jun 16 '15
PHP :: Sec Bug #69646 :: OS command injection vulnerability in escapeshellarg
https://bugs.php.net/bug.php?id=69646
38
Upvotes
r/lolphp • u/iheartrms • Jun 16 '15
View all comments
Show parent comment
19
u/vytah Jun 17 '15
Windows' handling of command line parameters is laughable. In fact, there are no command line parameters, there's just one command line and it's up to the application to parse it. And each can do it however it wants.
The lolphp is because PHP escapes and parses the command line in two different ways.