### [CVE-2008-2107](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2107) ![](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 The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed. ### POC #### Reference - http://securityreason.com/securityalert/3859 - http://www.redhat.com/support/errata/RHSA-2008-0546.html #### Github No PoCs found on GitHub currently.