Security Advisory

CVE-2020-28395: SCALANCE X-300 Reused Private Key

Last updated:
  • CVE-2020-28395

CVE-2020-28395 means Siemens SCALANCE X-300 and X-200RNA switches do not create a new unique private key after a factory reset and keep the key shipped with the firmware, so an attacker could get into a man-in-the-middle position and decrypt captured traffic. NVD scores it 5.9; Siemens scores it 9.1. Fixed in X-300 V4.1.0 and X-200RNA V3.2.7.

Vulnerability summary

CVSS base score

5.9

Medium severity

EPSS score (FIRST)

1.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2020-28395 · Source: NVD

Affected components

ComponentCPEVersion range
SCALANCE X-300 switch family (incl. X408 and SIPLUS NET variants)cpe:2.3:o:siemens:scalance_xr324-12m_firmware:*:*:*:*:*:*:*:*All versions before V4.1.0; fixed in V4.1.0 for supported devices (Siemens SSA-274900). NVD's CPE covers only XR324/XR326/XR328 models
SCALANCE X-200RNA switch family—All versions before V3.2.7; fixed in V3.2.7 (Siemens SSA-274900, added 2022-12-13). No NVD CPE entry

What does this mean for affected devices?

NVD carries the Siemens description: SCALANCE X-200RNA and X-300 switches "do not create a new unique private key after factory reset. An attacker could leverage this situation to a man-in-the-middle situation and decrypt previously captured traffic." NVD's Primary score is CVSS v3.1 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) with CWE-798 (hard-coded credentials); the Siemens CNA classes it CWE-321 (use of a hard-coded cryptographic key). The record was published on 2021-01-12 (NVD, CVE record).

How does it differ from CVE-2020-28391?

Siemens ProductCERT published both flaws together in SSA-274900. In CVE-2020-28391, X-200 and X-200IRT switches only keep the shipped key when they are used with a C-PLUG module. In CVE-2020-28395 there is no such condition: the X-200RNA and X-300 switches never generate a new private key on factory reset, so every unit that has not been given its own certificate runs with the key that came with the firmware. The X-200RNA family appears under both CVEs.

How severe is it?

Siemens scores CVE-2020-28395 at CVSS v3.1 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:U/RC:C), and CISA's ICSA-21-012-02 CSAF (Update B, 2022-12-13) repeats that vector. NVD rates attack complexity high and integrity impact none, which gives 5.9. Both agree that no privileges or user interaction are needed and that confidentiality impact is high.

CVE-2020-28395 is not in the CISA KEV catalog as of 2026-11-22 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.01190, the 68.7th percentile, in the 2026-11-21 dataset (CISA KEV, FIRST EPSS).

Which products and versions are affected?

Product (Siemens wording) Affected Fixed
SCALANCE X-300 switch family (incl. X408 and SIPLUS NET variants) before V4.1.0 V4.1.0 (for supported devices)
SCALANCE X-200RNA switch family before V3.2.7 V3.2.7

The table follows the Siemens CSAF for SSA-274900, version 4 of 2022-12-13, which added the X-200RNA family (Siemens SSA-274900 CSAF). Siemens qualifies the X-300 fix with "for supported devices". NVD's eight CPE entries cover only the XR324, XR326-2C PoE WG and XR328-4C WG rack switches before 4.1.0. They leave out the rest of the X-300 family (X302 to X320 and X408) and the X-200RNA, so a CPE-only scan misses most affected units.

How do you fix or mitigate it?

Update X-300 switches to V4.1.0 or later and X-200RNA switches to V3.2.7 or later. Siemens gives two mitigations for both families: replace the default self-signed device X.509 certificates with your own trusted certificates, and replace the default hard-coded certificates from the firmware image, which SSA-274900 identifies by SHA-1 and SHA-256 fingerprint. Compare the certificate a switch presents with those fingerprints to find units still using the shipped key, and treat traffic captured before the change as readable. Our SCALANCE and RUGGEDCOM guide covers certificate handling on these switches, and the weak cryptography fix guide explains the class. The X-300 family also carries CVE-2022-26335 (HTTP GET crash) and CVE-2019-6567 (recoverable passwords).

How to fix this class of issueThis advisory's weakness class is Hard-coded credentials. Our practical guide covers how to detect, fix, verify and disclose it: How to fix hard-coded credentials in embedded firmware.

Evidence

  • NVD (read 2026-11-22): status Modified; published 2021-01-12; NVD Primary CVSS v3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, v2 4.3; CWE-798 (NVD), CWE-321 (Siemens); 8 vulnerable CPE entries, all XR324/XR326-2C PoE WG/XR328-4C WG firmware before 4.1.0; references SSA-274900, ICSA-21-012-02. — NVD
  • Siemens SSA-274900 CSAF version 4 (initial 2021-01-12, current 2022-12-13), read 2026-11-22: CVE-2020-28395 CWE-321, CVSS v3.1 9.1; X-300 (incl. X408 and SIPLUS NET) fixed in V4.1.0 'for supported devices', X-200RNA fixed in V3.2.7; mitigations: replace default self-signed X.509 certificates with own trusted certificates and replace default hard-coded certificates (fingerprints listed). — Siemens ProductCERT SSA-274900 (CSAF)
  • CISA ICSA-21-012-02 CSAF (Update B, version 4, current 2022-12-13), read 2026-11-22: CVE-2020-28395 CWE-321, CVSS v3.1 9.1. — CISA CSAF ICSA-21-012-02
  • CVE record (checked 2026-11-22): state PUBLISHED, CNA Siemens, published 2021-01-12; CWE-321. — CVE.org
  • Not in the CISA KEV catalog, version 2026.11.20 (1,790 entries), checked 2026-11-22. — CISA KEV
  • EPSS 0.01190, percentile 0.68731, dataset 2026-11-21, read 2026-11-22. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Siemens ProductCERT SSA-274900: Use of Hardcoded Key in SCALANCE X Devices Under Certain Conditions
  3. Siemens ProductCERT SSA-274900 (CSAF, version 4)
  4. CISA CSAF: ICSA-21-012-02 Siemens SCALANCE X Switches (Update B, machine-readable advisory)
  5. CVE.org record CVE-2020-28395 (CNA: Siemens)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which firmware fixes CVE-2020-28395?

SCALANCE X-300 (incl. X408 and SIPLUS NET variants) V4.1.0 for supported devices, and SCALANCE X-200RNA V3.2.7, per the Siemens SSA-274900 CSAF (version 4, 2022-12-13).

How is CVE-2020-28395 different from CVE-2020-28391?

CVE-2020-28391 affects X-200 and X-200IRT switches only when they are used with a C-PLUG module. CVE-2020-28395 affects X-300 and X-200RNA switches after any factory reset, because they never generate a new private key (per Siemens SSA-274900).

Why might my scanner miss affected X-300 switches?

As of 2026-11-22, NVD's CPE configuration for CVE-2020-28395 lists only XR324, XR326-2C PoE WG and XR328-4C WG firmware before 4.1.0. Other X-300 models, the X408 and the X-200RNA family have no CPE entry, so match on the Siemens advisory, not on CPE alone.

What can I do on switches I cannot update yet?

Replace the default self-signed device certificates with your own trusted certificates and replace the hard-coded certificates from the firmware image, as Siemens SSA-274900 recommends. Keep the management interface on a restricted network so an attacker cannot get into the path.