cve/2008/CVE-2008-2108.md

19 lines
878 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2008-2108](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2108)
![](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 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.
### POC
#### Reference
- http://securityreason.com/securityalert/3859
- http://www.redhat.com/support/errata/RHSA-2008-0546.html
#### Github
No PoCs found on GitHub currently.