PHP up to 5.2.12 uniqid cryptographic issue

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.9$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic has been found in PHP up to 5.2.12. This affects the function uniqid. Performing a manipulation results in cryptographic issue. This vulnerability is identified as CVE-2010-1128. Additionally, an exploit exists. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, was found in PHP up to 5.2.12 (Programming Language Software). This affects the function uniqid. The manipulation with an unknown input leads to a cryptographic issue vulnerability. CWE is classifying the issue as CWE-310. This is going to have an impact on confidentiality, and integrity. The summary by CVE is:

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.

The weakness was released 03/26/2010 (Website). The advisory is shared at vupen.com. This vulnerability is uniquely identified as CVE-2010-1128 since 03/26/2010. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1600 for this issue.

The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 45029 (Mandriva Linux Security Advisory : php (MDVSA-2010:058)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 155575 (Oracle Enterprise Linux Update for PHP (ELSA-2010-0919)).

Upgrading to version 5.2.11 eliminates this vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (33677), Tenable (45029), SecurityFocus (BID 38430†), Secunia (SA38708†) and Vulnerability Center (SBV-24952†). Entries connected to this vulnerability are available at VDB-3695, VDB-5786, VDB-5794 and VDB-9021. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 5.9

VulDB Base Score: 6.5
VulDB Temp Score: 5.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Cryptographic issue
CWE: CWE-310
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 45029
Nessus Name: Mandriva Linux Security Advisory : php (MDVSA-2010:058)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 880456
OpenVAS Name: CentOS Update for php CESA-2010:0919 centos4 i386
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 5.2.11

Timelineinfo

02/26/2010 🔍
02/26/2010 +0 days 🔍
02/26/2010 +0 days 🔍
03/02/2010 +4 days 🔍
03/11/2010 +9 days 🔍
03/26/2010 +15 days 🔍
03/26/2010 +0 days 🔍
03/26/2010 +0 days 🔍
03/19/2015 +1819 days 🔍
05/03/2026 +4063 days 🔍

Sourcesinfo

Product: php.org

Advisory: vupen.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2010-1128 (🔍)
GCVE (CVE): GCVE-0-2010-1128
GCVE (VulDB): GCVE-100-52401

OVAL: 🔍

SecurityFocus: 38430 - PHP LCG Entropy Security Vulnerability
Secunia: 38708 - PHP Two Security Bypass Vulnerabilities, Less Critical
Vulnerability Center: 24952 - PHP Prior to 5.2.13 LCG Entropy Remote Security Vulnerability, High
Vupen: ADV-2010-0479

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/19/2015 12:22
Updated: 05/03/2026 14:38
Changes: 03/19/2015 12:22 (64), 02/21/2017 17:23 (17), 09/05/2021 22:46 (3), 01/02/2025 20:11 (17), 05/03/2026 14:38 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!