CVE-2016-5804 is weak encryption in the login of Moxa MGate MB3000 serial-to-Ethernet Modbus gateways (MB3170, MB3180, MB3270, MB3280, MB3480) that lets a remote attacker brute-force a parameter value and bypass authentication. NVD scores it 9.8 and CISA 9.1. Moxa released fixed firmware for each model.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
1.1%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2016-5804 · Source: NVD

Affected components
| Component | CPE | Version range |
|---|---|---|
| Moxa MGate MB3180 | cpe:2.3:o:moxa:mgate_mb3180_firmware:*:*:*:*:*:*:*:* | Firmware before 1.8 (CISA ICSA-16-196-02, NVD); fixed in 1.8 |
| Moxa MGate MB3280 | cpe:2.3:o:moxa:mgate_mb3280_firmware:*:*:*:*:*:*:*:* | Firmware before 2.7; fixed in 2.7 |
| Moxa MGate MB3480 | cpe:2.3:o:moxa:mgate_mb3480_firmware:*:*:*:*:*:*:*:* | Firmware before 2.6; fixed in 2.6 |
| Moxa MGate MB3170 | cpe:2.3:o:moxa:mgate_mb3170_firmware:*:*:*:*:*:*:*:* | Firmware before 2.5; fixed in 2.5 |
| Moxa MGate MB3270 | cpe:2.3:o:moxa:mgate_mb3270_firmware:*:*:*:*:*:*:*:* | Firmware before 2.7; fixed in 2.7 |
What does this mean for affected devices?
The CVE description reads: "Moxa MGate MB3180 before 1.8, MGate MB3280 before 2.7, MGate MB3480 before 2.6, MGate MB3170 before 2.5, and MGate MB3270 before 2.7 use weak encryption, which allows remote attackers to bypass authentication via a brute-force series of guesses for a parameter value." NVD's Primary score is 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CVSS 2.0 5.0) with CWE-326, inadequate encryption strength, and its CPE configuration matches the five firmware lines below the fixed versions (NVD, CVE record).
Why do NVD and CISA scores differ?
CISA's ICSA-16-196-02 scores it 9.1 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N): no availability impact. NVD rates availability impact as high as well. Both rate the attack as network-based with no credentials or user interaction. CISA says an attacker with low skill could exploit it and reported no known public exploits; Maxim Rupp reported the flaw.
Which MGate models are affected?
MGate is a serial-to-Ethernet Modbus gateway, used according to CISA in the chemical, commercial facilities, critical manufacturing, emergency services, energy, food and agriculture, government facilities and water sectors, mainly in the US, Europe, South America and Taiwan.
| Model | Affected firmware | Fixed firmware |
|---|---|---|
| MGate MB3180 | before 1.8 | 1.8 |
| MGate MB3280 | before 2.7 | 2.7 |
| MGate MB3480 | before 2.6 | 2.6 |
| MGate MB3170 | before 2.5 | 2.5 |
| MGate MB3270 | before 2.7 | 2.7 |
How do you fix CVE-2016-5804?
Install the fixed firmware from Moxa's support site; Moxa says it enhances the security of the MB3x70 and MB3x80 families (CISA CSAF). Then change the gateway password, since it may have been guessed already. Until every unit is updated, keep the web and configuration interfaces off the Internet, behind a firewall separated from the business network, and reach them only through a VPN. A gateway that bridges serial Modbus devices to Ethernet gives whoever controls it a path to those devices, so place it in the control zone, not on the office LAN.
The weak cryptography fix guide covers login protection in device firmware, the Modbus protocol security guide explains why Modbus itself carries no authentication, and the Moxa NPort guide covers Moxa's serial device servers. Related pages: CVE-2016-9366 (NPort brute-force authentication bypass) and CVE-2016-4503 (Moxa 5232-N cookie authentication bypass).
Is CVE-2016-5804 exploited?
CVE-2016-5804 is not in the CISA KEV catalog as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS gives it 0.01116, the 65.72th percentile, in the 2026-11-26 dataset (CISA KEV, FIRST EPSS).


Evidence
- NVD (read 2026-11-27): status Modified; published 2016-07-15; [email protected] Primary CVSS 3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CVSS 2.0 5.0; CWE-326; CPE mgate_mb3180 <1.8, mb3280 <2.7, mb3480 <2.6, mb3170 <2.5, mb3270 <2.7. — NVD
- CISA ICSA-16-196-02 (CSAF): CWE-326; CVSS 3.0 9.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N; Moxa firmware MB3180 v1.8, MB3280 v2.7, MB3480 v2.6, MB3170 v2.5, MB3270 v2.7 enhance security of MB3x70/MB3x80 families. — CISA CSAF
- CISA ICSA-16-196-02 page: affected versions prior to the fixed versions; serial-to-Ethernet Modbus gateway; sectors chemical, commercial facilities, critical manufacturing, emergency services, energy, food and agriculture, government facilities, water; US, Europe, South America, Taiwan; researcher Maxim Rupp; remote, low skill; no known public exploits. — CISA
- CVE.org record (MITRE-era format): published 2016-07-15; same description; no CNA CVSS. — CVE.org
- CISA KEV catalog version 2026.11.25, 1,805 entries: CVE-2016-5804 not listed; checked 2026-11-27. — CISA KEV
- EPSS 0.01116, percentile 0.65721, dataset 2026-11-26, read 2026-11-27. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which MGate firmware versions fix CVE-2016-5804?
MB3180 1.8, MB3280 2.7, MB3480 2.6, MB3170 2.5 and MB3270 2.7, per CISA ICSA-16-196-02 and NVD.
Why is CVE-2016-5804 9.8 on NVD but 9.1 at CISA?
CISA rates no availability impact; NVD rates availability impact as high. Both treat the attack as remote and unauthenticated.
What should I do after updating an MGate gateway?
Change the gateway password, because a weak login may already have been brute-forced, and keep the management interface reachable only from the control network or a VPN.
Is CVE-2016-5804 in the CISA KEV catalog?
No, not as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS rates it 0.01116, the 65.72th percentile, in the 2026-11-26 dataset.
Questions about this page?