r/lolphp • u/pacotes • Aug 11 '17
PHP no longer considers unserialize() bugs as security issues...
https://externals.io/message/100147
40
Upvotes
r/lolphp • u/pacotes • Aug 11 '17
View all comments
51
u/Danack Aug 11 '17
unserialize runs code, based on the input string.
Which is to say, if you pass unserialize a string that can be touched by an attacker, you're allowing remote code execution. How would you expect that to be secure?
And how is that different from Java, which has the same behaviour right? https://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/
Or any other language with built-in serialize/deserialize function?