### [CVE-2015-2787](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2787) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages use of the unset function within an __wakeup function, a related issue to CVE-2015-0231. ### POC #### Reference - http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html - https://hackerone.com/reports/73235 #### Github - https://github.com/80vul/phpcodz - https://github.com/go-spider/php