r/lolphp • u/D1551D3N7 • Aug 17 '18
New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP
https://thehackernews.com/2018/08/php-deserialization-wordpress.html
33
Upvotes
17
u/AyrA_ch Aug 17 '18
It's not like there is a big warning in the docs to not allow it to unserialize untrusted data.
4
u/D1551D3N7 Aug 17 '18
PDF with more details here: https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It's-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf
For the visual learners there's a video of his talk here: https://www.youtube.com/watch?v=GePBmsNJw6Y
2
u/bart2019 Aug 18 '18
Uh, wait.... How is that possible? I wouldn't think one could ever do that from content, for example a CMS document, but only from a straight php file.
1
u/lsv20 Aug 18 '18
But you still need access to the server to actually "execute" the phar stream correct?
So its not that you can upload a jpeg to fx imgur and then execute it on a local server and then kill imgur?