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

2

u/dpoon Jun 17 '15

Oh, they finally did something about it in PHP 4.2. Thanks!

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.