The Linear Congruential Generator (LCG) in PHP before 5.2.13 does not provide the expected entropy, which makes it easier for context-dependent attackers to guess values that were intended to be unpredictable, as demonstrated by session cookies generated by using the uniqid function.
2010-03-26T20:30:00.877
2025-04-11T00:51:21.963
Deferred
CVSSv2: 6.4 (MEDIUM)
AV:N/AC:L/Au:N/C:P/I:P/A:N
10.0
4.9
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | php | php | ≤ 5.2.12 | Yes |
Application | php | php | 5.2.0 | Yes |
Application | php | php | 5.2.1 | Yes |
Application | php | php | 5.2.2 | Yes |
Application | php | php | 5.2.3 | Yes |
Application | php | php | 5.2.4 | Yes |
Application | php | php | 5.2.5 | Yes |
Application | php | php | 5.2.6 | Yes |
Application | php | php | 5.2.7 | Yes |
Application | php | php | 5.2.8 | Yes |
Application | php | php | 5.2.9 | Yes |
Application | php | php | 5.2.10 | Yes |
Application | php | php | 5.2.11 | Yes |