CVE-2016-6485 Unauthenticated crypto and weak IV in Magento\Framework\Encryption
HighCVSS 7.5
EPSS 0.85%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| magento/community-edition(Packagist) | >= 2.0, < 2.2.6 | 2.2.6 |
| magento/community-edition(Packagist) | = 2.0.0 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.0-rc | No fix listed |
| magento/community-edition(Packagist) | = 2.0.0-rc2 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.1 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.10 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.11 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.12 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.13 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.14 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.15 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.16 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.17 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.18 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.2 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.3 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.4 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.5 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.6 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.7 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.8 | No fix listed |
| magento/community-edition(Packagist) | = 2.0.9 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.0 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.0-rc1 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.0-rc2 | No fix listed |
Show 32 more
| Product | Affected versions | Fixed in |
|---|---|---|
| magento/community-edition(Packagist) | = 2.1.0-rc3 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.1 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.10 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.11 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.12 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.13 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.14 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.15 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.16 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.17 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.18 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.2 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.3 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.4 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.5 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.6 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.7 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.8 | No fix listed |
| magento/community-edition(Packagist) | = 2.1.9 | No fix listed |
| magento/community-edition(Packagist) | = 2.2.0 | No fix listed |
| magento/community-edition(Packagist) | = 2.2.1 | No fix listed |
| magento/community-edition(Packagist) | = 2.2.2 | No fix listed |
| magento/community-edition(Packagist) | = 2.2.3 | No fix listed |
| magento/community-edition(Packagist) | = 2.2.4 | No fix listed |
| magento/community-edition(Packagist) | = 2.2.5 | No fix listed |
| magento/project-community-edition(Packagist) | >= 2.0, <= 2.0.2 | No fix listed |
| magento/project-community-edition(Packagist) | = 2.0.0 | No fix listed |
| magento/project-community-edition(Packagist) | = 2.0.0-rc | No fix listed |
| magento/project-community-edition(Packagist) | = 2.0.0-rc2 | No fix listed |
| magento/project-community-edition(Packagist) | = 2.0.1 | No fix listed |
| magento/project-community-edition(Packagist) | = 2.0.2 | No fix listed |
| magento2 | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com exploit
- [oss-security] 20160719 Ruining the Magic of Magento's Encryption Library mailing-list third-party-advisory
- [oss-security] 20160727 Re: Ruining the Magic of Magento's Encryption Library mailing-list third-party-advisory
- github.com