CVE Catalog

CVE-2016-6485

High
Published: Translated: NVD NIST

Summary

The __construct function in Framework/Encryption/Crypt.php in Magento 2 uses the PHP rand function to generate a random number for the initialization vector, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by guessing the value.

Risk Assessment

The risk involves the potential to break cryptographic protection, which could lead to the exposure of sensitive data or system takeover.

Recommendation

It is recommended to update Magento to the latest version that eliminates the use of the rand function in the context of generating the initialization vector.

Related vulnerabilities

Original NVD description (English source)

The __construct function in Framework/Encryption/Crypt.php in Magento 2 uses the PHP rand function to generate a random number for the initialization vector, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by guessing the value.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS