1. CVE archive
  2. 2017
  3. CVE-2017-7902

CVE-2017-7902

9.8 Critical severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critical

Description

A "Reusing a Nonce, Key Pair in Encryption" issue was discovered in Rockwell Automation Allen-Bradley MicroLogix 1100 programmable-logic controllers 1763-L16AWA, Series A and B, Version 16.00 and prior versions; 1763-L16BBB, Series A and B, Version 16.00 and prior versions; 1763-L16BWA, Series A and B, Version 16.00 and prior versions; and 1763-L16DWD, Series A and B, Version 16.00 and prior versions and Allen-Bradley MicroLogix 1400 programmable logic controllers 1766-L32AWA, Series A and B, Version 16.00 and prior versions; 1766-L32BWA, Series A and B, Version 16.00 and prior versions; 1766-L32BWAA, Series A and B, Version 16.00 and prior versions; 1766-L32BXB, Series A and B, Version 16.00 and prior versions; 1766-L32BXBA, Series A and B, Version 16.00 and prior versions; and 1766-L32AWAA, Series A and B, Version 16.00 and prior versions. The affected product reuses nonces, which may allow an attacker to capture and replay a valid request until the nonce is changed.

Affected products

VendorProductVersionPlatform
rockwellautomation 1763-l16awa series a <= 16.000 –
rockwellautomation 1763-l16awa series b <= 16.000 –
rockwellautomation 1763-l16bbb series a <= 16.000 –
rockwellautomation 1763-l16bbb series b <= 16.000 –
rockwellautomation 1763-l16bwa series a <= 16.000 –
rockwellautomation 1763-l16bwa series b <= 16.000 –
rockwellautomation 1763-l16dwd series a <= 16.000 –
rockwellautomation 1763-l16dwd series b <= 16.000 –
rockwellautomation 1766-l32awa series a <= 16.000 –
rockwellautomation 1766-l32awa series b <= 16.000 –
rockwellautomation 1766-l32awaa series a <= 16.000 –
rockwellautomation 1766-l32awaa series b <= 16.000 –
rockwellautomation 1766-l32bwa series a <= 16.000 –
rockwellautomation 1766-l32bwa series b <= 16.000 –
rockwellautomation 1766-l32bwaa series a <= 16.000 –
rockwellautomation 1766-l32bwaa series b <= 16.000 –
rockwellautomation 1766-l32bxb series a <= 16.000 –
rockwellautomation 1766-l32bxb series b <= 16.000 –
rockwellautomation 1766-l32bxba series a <= 16.000 –
rockwellautomation 1766-l32bxba series b <= 16.000 –
All 8 Rockwellautomation 1763-l16awa Series A vulnerabilities
All 8 Rockwellautomation 1763-l16bbb Series A vulnerabilities
All 8 Rockwellautomation 1763-l16bwa Series A vulnerabilities

Vulnerability type

CWE-330 Use of Insufficiently Random Values

The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.

Impact on systems

ScopeImpact
Confidentiality, Other Other
When a protection mechanism relies on random values to restrict access to a sensitive resource, such as a session ID or a seed for generating a cryptographic key, then the resource being protected could be accessed by guessing the ID or key.
Access Control, Other Bypass Protection Mechanism, Other
If product relies on unique, unguessable IDs to identify a resource, an attacker might be able to guess an ID for a resource that is owned by another user. The attacker could then read the resource, or pre-create a resource with the same ID to prevent the legitimate program from properly sending the resource to the intended user. For example, a product might maintain session information in a file whose name is based on a username. An attacker could pre-create this file for a victim user, then set the permissions so that the application cannot generate the session for the victim, preventing the victim from using the application.
Access Control Bypass Protection Mechanism, Gain Privileges or Assume Identity
When an authorization or authentication mechanism relies on random values to restrict access to restricted functionality, such as a session ID or a seed for generating a cryptographic key, then an attacker may access the restricted functionality by guessing the ID or key.

How to prevent it

Architecture and Design Use a well-vetted algorithm that is currently considered to be strong by experts in the field, and select well-tested implementations with adequate length seeds. In general, if a pseudo-random number generator is not advertised as being cryptographically secure, then it is probably a statistical PRNG and should not be used in security-sensitive contexts. Pseudo-random number generators can produce predictable numbers if the generator is known and the seed can be guessed. A 256-bit seed is a good starting point for producing a random enough number.
Implementation Consider a PRNG that re-seeds itself as needed from high quality pseudo-random output sources, such as hardware devices.
Architecture and Design · Requirements · Libraries or Frameworks Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems. Consult FIPS 140-2 Annex C (Approved Random Number Generators).

All 390 CWE-330 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org