SCALANCE X204RNA (HSR): Use of Insufficiently Random Values
CVE-2022-46353 is a critical-severity use of insufficiently random values vulnerability in SCALANCE X204RNA (HSR) from Siemens, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected SCALANCE X204RNA (HSR) versions: All versions < V3.2.7. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.07% chance of exploitation within 30 days, higher than 65% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update 6gk5204-0ba00-2mb2 Firmware to 3.2.7 or a later version.
- Update 6gk5204-0ba00-2kb2 Firmware to 3.2.7 or a later version.
- Update 6gk5204-0bs00-2na3 Firmware to 3.2.7 or a later version.
- Read the advisory on cert-portal.siemens.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Siemens | SCALANCE X204RNA (HSR) | All versions < V3.2.7 | Not stated |
| Siemens | SCALANCE X204RNA (PRP) | All versions < V3.2.7 | Not stated |
| Siemens | SCALANCE X204RNA EEC (HSR) | All versions < V3.2.7 | Not stated |
| Siemens | SCALANCE X204RNA EEC (PRP) | All versions < V3.2.7 | Not stated |
| Siemens | SCALANCE X204RNA EEC (PRP/HSR) | All versions < V3.2.7 | Not stated |
| Siemens | 6gk5204-0ba00-2mb2 Firmware | before 3.2.7 | 3.2.7 |
| Siemens | 6gk5204-0ba00-2kb2 Firmware | before 3.2.7 | 3.2.7 |
| Siemens | 6gk5204-0bs00-2na3 Firmware | before 3.2.7 | 3.2.7 |
| Siemens | 6gk5204-0bs00-3la3 Firmware | before 3.2.7 | 3.2.7 |
| Siemens | 6gk5204-0bs00-3pa3 Firmware | before 3.2.7 | 3.2.7 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.8 | Critical | NVD |
| CVSS 3.1 | 9.8 | Critical | CISA (ADP) |
Official description
A vulnerability has been identified in SCALANCE X204RNA (HSR) (All versions < V3.2.7), SCALANCE X204RNA (PRP) (All versions < V3.2.7), SCALANCE X204RNA EEC (HSR) (All versions < V3.2.7), SCALANCE X204RNA EEC (PRP) (All versions < V3.2.7), SCALANCE X204RNA EEC (PRP/HSR) (All versions < V3.2.7). The webserver of affected devices calculates session ids and nonces in an insecure manner. This could allow an unauthenticated remote attacker to brute-force session ids and hijack existing sessions.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use of Insufficiently Random Values
The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.
How developers prevent this class of flaw
- 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.
- Consider a PRNG that re-seeds itself as needed from high quality pseudo-random output sources, such as hardware devices.
- 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).
More Use of Insufficiently Random Values vulnerabilities (CWE-330)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in SCALANCE X204RNA (HSR)
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Recent Use of Insufficiently Random Values vulnerabilities
- 8.8 High severity
- 9.1 Critical severity
- 9.8 Critical severity
- 7.8 High severity
- 8.8 High severity
- 7.5 High severity
Spotted an error? Tell us.