Vulnerability advisory
GHSA-h7qw-mxrm-c6h2
Unauthenticated crypto and weak IV in Magento\Framework\Encryption
Also known as CVE-2016-6485
Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected versions
| Affected | Fixed in |
|---|---|
2.0 to before 2.2.6 | 2.2.6Advisories → |
Also listed as affected (49) | |
Description
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-6485 ↗
- Webgithub.com/magento/magento2/pull/15017 ↗
- Webgithub.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2016-6485.yaml ↗
- Webwww.openwall.com/lists/oss-security/2016/07/19/3 ↗
- Webwww.openwall.com/lists/oss-security/2016/07/27/14 ↗