GENERATE_SEED macro in PHP before 4.4.8 and 5.2.5 produces insufficient entropy on 64-bit systems
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 4.289%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≥ 4.0.0, < 4.4.8Show full version range for php≥ 5.0.0, < 5.2.5 |
| Vendor:Canonical | ubuntu linux | Affected versions:6.06Show full version range for ubuntu linux7.047.108.04 |
| Vendor:Debian | debian linux | Affected versions: 4.0 |
| Vendor:Fedora | fedora | Affected versions:8Show full version range for fedora9 |
| Vendor:oraclelinux | phpEnvironments (1)
| Affected versions: < 0:5.1.6-20.el5_2.1 |
| Vendor:oraclelinux | php-bcmathEnvironments (1)
| Affected versions: < 0:5.1.6-20.el5_2.1 |
| Vendor:oraclelinux | php-cliEnvironments (1)
| Affected versions: < 0:5.1.6-20.el5_2.1 |
| Vendor:oraclelinux | php-commonEnvironments (1)
| Affected versions: < 0:5.1.6-20.el5_2.1 |
| Vendor:oraclelinux | php-dbaEnvironments (1)
| Affected versions: < 0:5.1.6-20.el5_2.1 |
| Vendor:oraclelinux | php-develEnvironments (1)
| Affected versions: < 0:5.1.6-20.el5_2.1 |
1–10 of 42 · Page 1 of 5
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Poraclelinux · Wazuh CTI (adp)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories36
- CVE List / CNA
- NVD
- Wazuh CTI
- FIRST EPSS
- mandriva.com
- debian.org
- mandriva.com
- securityreason.com
- mandriva.com
- securityfocus.com
- mandriva.com
- mandriva.com
- security.gentoo.org
- oval.cisecurity.org
- mandriva.com
- secunia.com
- redhat.com
- archives.neohapsis.com
- redhat.com
- ubuntu.com
- redhat.com
- exchange.xforce.ibmcloud.com
- secunia.com
- secunia.com
- redhat.com
- secunia.com
- secunia.com
- redhat.com
- sektioneins.de
- secunia.com
- redhat.com
- redhat.com
- secunia.com
- access.redhat.com
- linux.oracle.com
- access.redhat.com
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences