Security Advisory

CVE-2021-32974: Moxa NPort IAW5000A-I/O Serial Device Server Unauthenticated OS Command Injection

Last updated:
  • CVE-2021-32974

CVE-2021-32974 is an OS command injection vulnerability (CWE-78) in the built-in web server of Moxa's NPort IAW5000A-I/O series, a wireless serial device server used to bridge RS-232/422/485 equipment onto a network; a remote attacker needs no authentication to exploit improper input validation in that web server and execute arbitrary operating-system commands on the device, and NVD's own Primary analysis scores it 9.8 (critical) on the CVSS v3.1 scale, matching the score CISA's own ICS advisory independently calculated for the same flaw.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

2.7%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

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

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
Moxa NPort IAW5000A-I/O wireless serial device server firmware—NPort IAW5150A-6I/O, IAW5150A-12I/O, IAW5250A-6I/O and IAW5250A-12I/O firmware version 2.2 or earlier; Moxa advisory MPSA-210501 directs affected users to contact Moxa Technical Support for a security patch

What does this mean for affected devices?

CVE-2021-32974 (CWE-78, OS command injection) affects Moxa's NPort IAW5000A-I/O series wireless serial device server. NVD's description states: "Improper input validation in the built-in web server in Moxa NPort IAW5000A-I/O series firmware version 2.2 or earlier may allow a remote attacker to execute commands" (NVD).

CISA's ICS advisory ICSA-21-187-01, published 2021-07-06, names the affected models as NPort IAW5150A-6I/O, IAW5150A-12I/O, IAW5250A-6I/O and IAW5250A-12I/O running firmware 2.2 or earlier, and credits Konstantin Kondratev, Evgeniy Druzhinin and Ilya Karpov of Rostelecom-Solar with reporting it alongside three related web-server flaws in the same product line: a classic buffer overflow (CVE-2021-32968, CVSS 7.5), a stack-based buffer overflow (CVE-2021-32976, CVSS 9.8) and a separate improper-input-validation issue (CVE-2021-32970, CVSS 7.5) (CISA ICS Advisory ICSA-21-187-01). Moxa's own security advisory, MPSA-210501 (V1.0, 2021-05-27), covers the same NPort IAW5000A-I/O web-server issues and states that affected firmware is "Version 2.2 or lower," directing customers to "contact Moxa Technical Support for a security patch" rather than a self-service download (Moxa Security Advisory MPSA-210501).

NVD's own Primary analysis assigns a CVSS v3.1 base score of 9.8 (critical), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H — network-reachable, low attack complexity, no privileges or user interaction required. CISA's advisory independently computed the identical score and vector for this CVE, so both the NVD Primary and CISA-published figures agree (NVD).

This CVE is not listed in the CISA Known Exploited Vulnerabilities catalog as of catalog version 2026.11.06, and FIRST scores the probability of exploitation at 0.02697 (86.003rd percentile) as of 2026-11-07 — notably higher than a median CVE, consistent with this being an unauthenticated, network-reachable command-injection flaw (CISA KEV, FIRST EPSS).

Operators of affected NPort IAW5000A-I/O units should contact Moxa Technical Support for the security patch referenced in MPSA-210501, and in the meantime should keep the device's web management interface off any network reachable by untrusted hosts, consistent with CISA's standing guidance to isolate control-system devices behind firewalls and use VPNs for remote access.

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueThis advisory's weakness class is Command injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix command injection in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • Improper input validation in the built-in web server in Moxa NPort IAW5000A-I/O series firmware version 2.2 or earlier may allow a remote attacker to execute commands. — NVD
  • CISA ICSA-21-187-01 (2021-07-06): affects NPort IAW5150A-6I/O, IAW5150A-12I/O, IAW5250A-6I/O and IAW5250A-12I/O firmware 2.2 or earlier; reported by Konstantin Kondratev, Evgeniy Druzhinin and Ilya Karpov of Rostelecom-Solar, alongside three related web-server flaws (CVE-2021-32968, CVE-2021-32976, CVE-2021-32970). — CISA ICS Advisory ICSA-21-187-01
  • Moxa Security Advisory MPSA-210501 (V1.0, 2021-05-27) covers the NPort IAW5000A-I/O web-server vulnerabilities for firmware 2.2 or lower and directs customers to contact Moxa Technical Support for a security patch. — Moxa Security Advisory MPSA-210501
  • NVD Primary CVSS v3.1 base score is 9.8 (critical), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, matching CISA's independently published score for the same CVE. — NVD
  • Not present in the CISA KEV catalog as of catalog version 2026.11.06; EPSS score is 0.02697 (86.003rd percentile) as of 2026-11-07. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICS Advisory ICSA-21-187-01
  3. Moxa Security Advisory MPSA-210501
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

What can a remote attacker actually execute on the device?

Improper input validation in the device's built-in web server lets a remote attacker execute arbitrary operating-system commands on the NPort IAW5000A-I/O, with no authentication required (per NVD).

Which exact Moxa models and firmware versions are affected?

CISA's advisory names NPort IAW5150A-6I/O, IAW5150A-12I/O, IAW5250A-6I/O and IAW5250A-12I/O running firmware version 2.2 or earlier (per CISA ICS Advisory ICSA-21-187-01).

Are there other vulnerabilities in the same web server worth knowing about?

Yes — the same researchers reported three related flaws in the same advisory: a classic buffer overflow (CVE-2021-32968, CVSS 7.5), a stack-based buffer overflow (CVE-2021-32976, CVSS 9.8) and a separate improper-input-validation issue (CVE-2021-32970, CVSS 7.5) (per CISA ICS Advisory ICSA-21-187-01).

How does an affected customer actually get the fix?

Unlike many vendors who post firmware directly, Moxa's advisory MPSA-210501 directs affected customers to contact Moxa Technical Support directly to obtain the security patch rather than a self-service download (per Moxa Security Advisory MPSA-210501).