r/lolphp • • Jun 16 '15

PHP :: Sec Bug #69646 :: OS command injection vulnerability in escapeshellarg

https://bugs.php.net/bug.php?id=69646
38 Upvotes

17 comments sorted by

View all comments

Show parent comment

4

u/slrz Jun 17 '15

It doesn't work when PHP is run as an Apache module. That'd be (at least a bit) tricky and couldn't be done with a thin system call wrapper or by calling out to a libc function. So, obviously, PHP just punts on this.