CVE-2010-1128Php
Medium 6.4 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 2.0
- 6.4
- EPSS
- 8.1% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Mar 26, 2010
- Updated
- Jun 16, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-310
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≤ 5.2.12 |
| php | php | 5.2.0 |
| php | php | 5.2.1 |
| php | php | 5.2.2 |
| php | php | 5.2.3 |
| php | php | 5.2.4 |
| php | php | 5.2.5 |
| php | php | 5.2.6 |
| php | php | 5.2.7 |
| php | php | 5.2.8 |
| php | php | 5.2.9 |
| php | php | 5.2.10 |
| php | php | 5.2.11 |
Official sources
References
Links published by the sources. Open them with care.
- secunia.com Vendor Advisory
- secunia.com
- www.php.net
- www.php.net Vendor Advisory
- www.redhat.com
- www.securityfocus.com Exploit
- www.vupen.com Patch Vendor Advisory
- www.vupen.com