Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-8xhv-gqm4-3w99 — zendframework1

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-331 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

ZendFramework1 Potential Insufficient Entropy Vulnerability

We discovered several methods used to generate random numbers in ZF1 that potentially used insufficient entropy. These random number generators are used in the following method calls:

```

Zend_Ldap_Attribute::createPassword

Zend_Form_Element_Hash::_generateHash

Zend_Gdata_HttpClient::filterHttpRequest

Zend_Filter_Encrypt_Mcrypt::_srand

Zend_OpenId::randomBytes

```

In each case, the methods were using rand() or mt_rand(), neither of which can generate cryptographically secure values. This could potentially lead to information disclosure should an attacker be able to brute force the random number generation.

Moreover, we discovered a potential security issue in the usage of the [openssl_random_pseudo_bytes()](http://php.net/manual/en/function.openssl-random-pseudo-bytes.php) function in Zend_Crypt_Math::randBytes, reported in PHP BUG [#70014](https://bugs.php.net/bug.php?id=70014), and the security implications reported in a discussion [on the random_compat library.](https://github.com/paragonie/random_compat/issues/96)

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.

Weakness class

GHSA-8xhv-gqm4-3w99 is classified as CWE-331: Insufficient Entropy. A generator is seeded with too little randomness, narrowing the range of outputs an attacker must search.

Affected software

GHSA-8xhv-gqm4-3w99 is recorded against 1 package.

  • zendframework/zendframework1 (from 1.12.0 up to 1.12.18)

Timeline and source

Published on 7 June 2024 and last revised on 4 December 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

framework.zend.com (Web)
github.com (Web)
github.com (Package)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE CWE-331
Public Exploit ✅ No
Source OSV
Published 2024-06-07
Updated 2026-08-20
Modified 2024-12-04
Fix URL N/A

Affected Packages

Software From version Fixed in
zendframework/zendframework1 1.12.0 1.12.18

Site Security Check

Is zendframework1 part of your stack?

GHSA-8xhv-gqm4-3w99 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.