Back to CVE catalog
CVE-2016-6485

Magento 2 weak random number generator vulnerability

magento magento2

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS summary v3.0

7.5High
Published:
Updated:
EPSS:
0.846%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:magentomagento2Affected versions:
Range not specifiedShow full version range for magento2
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories6

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