1. CVE archive
  2. 2016
  3. CVE-2016-9154

CVE-2016-9154

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

Description

Siemens Desigo PX Web modules PXA40-W0, PXA40-W1, PXA40-W2 for Desigo PX automation controllers PXC00-E.D, PXC50-E.D, PXC100-E.D, PXC200-E.D (All firmware versions < V6.00.046) and Desigo PX Web modules PXA30-W0, PXA30-W1, PXA30-W2 for Desigo PX automation controllers PXC00-U, PXC64-U, PXC128-U (All firmware versions < V6.00.046) use a pseudo random number generator with insufficient entropy to generate certificates for HTTPS, potentially allowing remote attackers to reconstruct the corresponding private key.

Affected products

VendorProductVersionPlatform
siemens desigo web module pxa30-w0 firmware <= 6.00.00 –
siemens desigo web module pxa30-w1 firmware <= 6.00.00 –
siemens desigo web module pxa30-w2 firmware <= 6.00.00 –
siemens desigo web module pxa40-w0 firmware <= 6.00.00 –
siemens desigo web module pxa40-w1 firmware <= 6.00.00 –
siemens desigo web module pxa40-w2 firmware <= 6.00.00 –

Vulnerability type

CWE-332 Insufficient Entropy in PRNG

The lack of entropy available for, or used by, a Pseudo-Random Number Generator (PRNG) can be a stability and security threat.

Impact on systems

ScopeImpact
Availability DoS: Crash, Exit, or Restart
If a pseudo-random number generator is using a limited entropy source which runs out (if the generator fails closed), the program may pause or crash.
Access Control, Other Bypass Protection Mechanism, Other
If a PRNG is using a limited entropy source which runs out, and the generator fails open, the generator could produce predictable random numbers. Potentially a weak source of random numbers could weaken the encryption method used for authentication of users.

How to prevent it

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).
Implementation Consider a PRNG that re-seeds itself as needed from high-quality pseudo-random output, such as hardware devices.
Architecture and Design When deciding which PRNG to use, look at its sources of entropy. Depending on what your security needs are, you may need to use a random number generator that always uses strong random data -- i.e., a random number generator that attempts to be strong but will fail in a weak way or will always provide some middle ground of protection through techniques like re-seeding. Generally, something that always provides a predictable amount of strength is preferable.

All 9 CWE-332 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org