Cryptographic issues in PHP - CVE-2010-1128

 

Cryptographic issues in PHP - CVE-2010-1128

Published: December 10, 2010 / Updated: June 12, 2025


Vulnerability identifier: #VU110309
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2010-1128
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


How to mitigate CVE-2010-1128

Install update from vendor's website.

Sources