Security Advisory

CVE-2021-22667: Advantech BB-ESWGP506 Hard-Coded Login

Last updated:
  • CVE-2021-22667

CVE-2021-22667 is a set of hard-coded credentials in the Advantech BB-ESWGP506-2SFP-T industrial Ethernet switch, firmware 1.01.09 and prior, that gives a remote attacker administrator access without a password of their own. NVD and CISA rate it 9.8. The switch is end-of-life with no fix, so CISA's advice is to replace it, for example with an EKI-7708-4FPI.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

3.9%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2021-22667 · Source: NVD

Affected components

ComponentCPEVersion range
Advantech BB-ESWGP506-2SFP-T industrial Ethernet switch firmwarecpe:2.3:o:advantech:bb-eswgp506-2sfp-t_firmware:*:*:*:*:*:*:*:*Up to and including 1.01.09 (NVD CPE configuration, CISA ICSA-21-054-02); end-of-life, no fixed firmware per CISA; Advantech recommends a successor such as the EKI-7708-4FPI

What does this mean for affected devices?

NVD's description reads: "BB-ESWGP506-2SFP-T versions 1.01.09 and prior is vulnerable due to the use of hard-coded credentials, which may allow an attacker to gain unauthorized access and permit the execution of arbitrary code on the BB-ESWGP506-2SFP-T (versions 1.01.01 and prior)." The sentence gives two version bounds. NVD's CPE configuration and CISA both use 1.01.09 and prior. NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), and NVD and CISA both list CWE-798, use of hard-coded credentials. CISA (ICS-CERT) assigned the record, which carries no CNA score, and published it on 2021-02-24 (NVD, CVE record).

Where are the credentials?

ZDI-21-593 (published 2021-05-25, reported to the vendor on 2020-12-02 by an anonymous researcher) says the flaw "exists within the telnet service, which listens on TCP port 23 by default". The service "contains a hard-coded password for the administrator user account", no authentication is required, and an attacker can run code as the administrator. ZDI scores it 9.8 with the same vector. CISA's ICSA-21-054-02 (2021-02-23; CSAF) credits the same anonymous researcher through Trend Micro's Zero Day Initiative. It lists multiple sectors and deployments in East Asia, the United States and Europe, and says no public exploit specifically targets the flaw.

Is there a fix for CVE-2021-22667?

No firmware fix is listed. CISA states that "Advantech no longer sells or maintains BB-ESWGP506-2SFP-T and considers it to be an end-of-life product", and that Advantech recommends replacing it with a succeeding model such as the EKI-7708-4FPI. ZDI's page says "Advantech has issued an update to correct this vulnerability" but points only to the CISA advisory, which names no update, so this page follows CISA. Until a switch is replaced, disable telnet if the configuration allows it, block TCP 23 to the management address, and keep the switch off the internet and behind a firewall, as CISA's general practices advise.

How does this compare with other switch credentials?

Our Advantech EKI, router and WebAccess/SCADA guide covers end-of-life Advantech and B+B SmartWorx devices, and the hard-coded credentials fix guide covers per-device secrets. Similar flaws in industrial network gear are CVE-2024-8450, a hard-coded SNMP community in PLANET switches, and CVE-2021-34565, hard-coded SSH and telnet credentials in Pepperl+Fuchs gateways.

CVE-2021-22667 is not in the CISA KEV catalog as of 2026-11-21 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.03902, the 90.5th percentile, in the 2026-11-20 dataset (CISA KEV, FIRST EPSS).

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: BB-ESWGP506-2SFP-T versions 1.01.09 and prior vulnerable due to hard-coded credentials, unauthorized access and code execution (description also says versions 1.01.01 and prior); NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, v2 10.0; CWE-798 (NVD and CISA); CPE bb-eswgp506-2sfp-t_firmware up to including 1.01.09; published 2021-02-24; status Modified, read 2026-11-21. — NVD
  • CISA ICSA-21-054-02 'Advantech BB-ESWGP506-2SFP-T' (CSAF, 2021-02-23): CWE-798, CVSS v3 9.8; affected 1.01.09 and prior; Advantech no longer sells or maintains it and considers it end-of-life; recommends a succeeding model such as EKI-7708-4FPI; sectors multiple, deployed East Asia, United States, Europe; no known public exploits; reported by an anonymous party via Trend Micro's ZDI, read 2026-11-21. — CISA ICS advisory / CSAF
  • ZDI-21-593 (ZDI-CAN-11786, 2021-05-25): Advantech BB-ESWGP506-2SFP-T hard-coded credentials RCE; telnet service on TCP 23 contains a hard-coded password for the administrator account; no authentication required; CVSS 9.8; 'Advantech has issued an update' with link to ICSA-21-054-02; reported 2020-12-02; credit Anonymous, read 2026-11-21. — Zero Day Initiative
  • CVE record: state PUBLISHED, assigner icscert, published 2021-02-24; product BB-ESWGP506-2SFP-T, versions 1.01.09 and prior; CWE-798; no CNA CVSS, checked 2026-11-21. — CVE.org
  • Not in the CISA KEV catalog version 2026.11.20 (1,790 entries; no Advantech entry), checked 2026-11-21. — CISA KEV
  • EPSS 0.03902, percentile 0.90519, dataset 2026-11-20, read 2026-11-21. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-21-054-02: Advantech BB-ESWGP506-2SFP-T
  3. CISA CSAF: ICSA-21-054-02 (machine-readable advisory)
  4. Zero Day Initiative ZDI-21-593
  5. CVE.org record CVE-2021-22667
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Is there firmware that fixes CVE-2021-22667?

No fixed firmware is listed. CISA ICSA-21-054-02 says Advantech no longer sells or maintains the BB-ESWGP506-2SFP-T, considers it end-of-life, and recommends replacing it with a succeeding model such as the EKI-7708-4FPI (per CISA).

Which service exposes the hard-coded credentials?

Telnet. ZDI-21-593 says the telnet service, listening on TCP port 23 by default, contains a hard-coded password for the administrator account, so blocking TCP 23 to the switch and disabling telnet reduce exposure until the switch is replaced (per ZDI).

Why does ZDI mention an update when CISA says there is no fix?

ZDI's page says Advantech issued an update but links only to CISA ICSA-21-054-02, and that CISA advisory lists end-of-life status and replacement as the only remediation. No firmware version is named in either source, so plan for replacement (per ZDI and CISA).

Is CVE-2021-22667 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-21 (catalog version 2026.11.20), and CISA reported no public exploit targeting it in 2021. FIRST EPSS gives it 0.03902, the 90.5th percentile, in the 2026-11-20 dataset (per CISA and FIRST EPSS).