CVE-2023-2574 is an authenticated command injection in Advantech EKI-1521, EKI-1522 and EKI-1524 serial device servers through firmware 1.21. A shell command placed in the device name field runs as root when the unit reboots. NVD rates it 8.8. Install firmware newer than 1.21, as of 2026-11-21 V1.35, and limit web-interface access.
Vulnerability summary
CVSS base score
8.8
High severity
EPSS score (FIRST)
4.8%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2023-2574 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Advantech EKI-1521 firmware | cpe:2.3:o:advantech:eki-1521_firmware:*:*:*:*:*:*:*:* | Up to and including 1.21 (NVD CPE configuration); CyberDanube lists EKI-1521-CE series 1.21 as vulnerable and recommends the latest firmware |
| Advantech EKI-1522 firmware | cpe:2.3:o:advantech:eki-1522_firmware:*:*:*:*:*:*:*:* | Up to and including 1.21 (NVD CPE configuration); CyberDanube lists EKI-1522-CE series 1.21 as vulnerable and recommends the latest firmware |
| Advantech EKI-1524 firmware | cpe:2.3:o:advantech:eki-1524_firmware:*:*:*:*:*:*:*:* | Up to and including 1.21 (NVD CPE configuration); CyberDanube lists EKI-1524-CE series 1.21 as vulnerable and recommends the latest firmware |
What does this mean for affected devices?
NVD's description reads: "Advantech EKI-1524, EKI-1522, EKI-1521 devices through 1.21 are affected by an command injection vulnerability in the device name input field, which can be triggered by authenticated users via a crafted POST request." NVD's Primary score is CVSS v3.1 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) with CWE-77, command injection. CyberDanube, the CNA, gives the same 8.8 and vector and uses CWE-78, OS command injection. The record was published on 2023-05-08 (NVD, CVE record). NVD's CPE configuration covers EKI-1521, EKI-1522 and EKI-1524 firmware up to and including 1.21.
How is the device name abused?
CyberDanube's advisory (Thomas Weber and Sebastian Dietz, published 2023-05-11) describes two blind authenticated command injections in the web server, which execute "with root permissions in the background". For this one, the sys_name parameter of a POST to /cgi-bin/index.cgi?func=setsys carries a command wrapped in semicolons, for example ;ls /etc;. CyberDanube notes that the device name "is only executed on reboot, but this can also be done via the device's web-interface", so a logged-in attacker can set the name and reboot the unit. Setting the name to that string in the normal form works as well. The EKI-1500 series connects RS-232, RS-422 and RS-485 equipment to Ethernet, and CyberDanube warns that the serial systems behind it can be attacked through the device. The sibling flaws are CVE-2023-2573, the same injection through the NTP server field, and CVE-2023-2575, a stack overflow in that field.
Which firmware fixes CVE-2023-2574?
CyberDanube lists EKI-1524-CE, EKI-1522-CE and EKI-1521-CE series firmware 1.21 as vulnerable. Its timeline says Advantech published new firmware on 2023-05-02 and confirmed on 2023-05-08 that all reported vulnerabilities were fixed. Its recommendation is to upgrade to the latest firmware, with no workaround. Advantech's release notes on the EKI-1524-CE and EKI-1522-CE firmware pages do not name CVE-2023-2574. The first release after 1.21 is V1.24 (2023-04-25), and the newest as of 2026-11-21 is V1.35 (2025-06-13). Because exploitation needs a web login, also restrict the management interface to an admin network and change shared passwords.
Where does this fit for EKI devices?
Our Advantech EKI, router and WebAccess/SCADA guide groups this flaw with the other EKI command injections, and the command injection fix guide covers passing web fields to a shell safely. Comparable flaws in serial and cellular gear are CVE-2021-32974 in the Moxa NPort IAW5000A-I/O and CVE-2025-67038 in the Lantronix EDS5000.
CVE-2023-2574 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.04751, the 92.1st percentile, in the 2026-11-20 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD: Advantech EKI-1524, EKI-1522, EKI-1521 through 1.21, command injection in the device name input field, triggered by authenticated users via crafted POST; NVD Primary CVSS v3.1 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, CWE-77; CyberDanube Secondary 8.8 same vector, CWE-78; CPE eki-1521/1522/1524_firmware up to including 1.21; published 2023-05-08; status Modified, read 2026-11-21. — NVD
- CyberDanube advisory (2023-05-11): EKI-1524-CE, EKI-1522-CE, EKI-1521-CE series 1.21 vulnerable; blind authenticated command injection in device name (sys_name in POST /cgi-bin/index.cgi?func=setsys, e.g. ';ls /etc;'), executed with root permissions, only on reboot but reboot is available in the web interface; serial peripherals can be affected; solution update to latest firmware, no workaround; vendor released firmware 2023-05-02 and confirmed all fixed 2023-05-08, read 2026-11-21. — CyberDanube
- Advantech firmware pages EKI-1521-CE, EKI-1522-CE, EKI-1524-CE: V1.21 2023-01-09; V1.24 2023-04-25 (fixed NTP memory corruption); V1.26 2023-09-04 (CVE-2023-4202, CVE-2023-4203); V1.32 2024-08-13; V1.35 2025-06-13; no release note names CVE-2023-2574, read 2026-11-21. — Advantech support
- CVE record: state PUBLISHED, assigner CyberDanube, published 2023-05-08; affected Advantech EKI-1524, EKI-1522, EKI-1521; CNA CVSS v3.1 8.8, CWE-78; finders S. Dietz and T. Weber (CyberDanube), 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.04751, percentile 0.92088, dataset 2026-11-20, read 2026-11-21. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
When does the injected device name command run?
At reboot. CyberDanube found that a command wrapped in semicolons in the device name is executed with root permissions only when the device restarts, but a logged-in user can trigger that restart from the web interface (per CyberDanube).
Which firmware should EKI-1521, EKI-1522 and EKI-1524 users install?
The latest firmware. CyberDanube lists 1.21 as vulnerable and says Advantech confirmed on 2023-05-08 that all reported issues were fixed. As of 2026-11-21 Advantech's firmware pages list V1.35 (2025-06-13) as the newest release; their release notes do not name CVE-2023-2574 (per CyberDanube and Advantech).
Why do NVD and CyberDanube list different CWEs?
NVD uses the broader CWE-77, command injection, while CyberDanube, the CNA, uses CWE-78, OS command injection. Both score it CVSS v3.1 8.8 with low privileges required (per NVD and the CVE record).
Is CVE-2023-2574 exploited in the wild?
It is not in the CISA KEV catalog as of 2026-11-21 (catalog version 2026.11.20). CyberDanube published a proof-of-concept request, and FIRST EPSS gives it 0.04751, the 92.1st percentile, in the 2026-11-20 dataset (per CISA KEV, CyberDanube and FIRST EPSS).
Questions about this page?