Description
PHP 5.2.1 allows context-dependent attackers to read portions of heap memory by executing certain scripts with a serialized data input string beginning with S:, which does not properly track the number of input bytes being processed.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- PHP 5.2.1 - 'Unserialize()' Local Information Leak EDB-3559 · local · Mar 23, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.php-security.org/MOPB/MOPB-29-2007.html
- php-unserialize-information-disclosure(33170) vdb-entry
- 24630 third-party-advisory
- 23105 vdb-entry
- http://us2.php.net/releases/5_2_2.php
- MDVSA-2008:126 vendor-advisory