CVE-2018-7798 is a flaw in the UMAS network configuration function of Schneider Electric Modicon M221 PLCs: the controller does not verify the authenticity of a remote request (CWE-345), so an unauthenticated attacker on the network can change its IPv4 address, mask and gateway and intercept its traffic. NVD and CISA score it 8.2. CISA lists all versions and only mitigations.
Vulnerability summary
CVSS base score
8.2
High severity
EPSS score (FIRST)
0.7%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2018-7798 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Modicon M221 | cpe:2.3:h:schneider-electric:modicon_m221:-:*:*:*:*:*:*:* | All versions; no fixed firmware in CISA ICSA-18-324-02 as of 2026-11-21, mitigations only |
| SoMachine Basic (now EcoStruxure Machine Expert - Basic) | cpe:2.3:a:schneider-electric:somachine_basic:*:*:*:*:*:*:*:* | All versions, as NVD's CPE configuration lists it with the M221 hardware |
What does this mean for affected devices?
NVD carries the Schneider Electric description: "A Insufficient Verification of Data Authenticity (CWE-345) vulnerability exists in the Modicon M221, all versions, which could cause a change of IPv4 configuration (IP address, mask and gateway) when remotely connected to the device." NVD's Primary score is CVSS v3.1 8.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L), with CVSS v2 6.4, and NVD's own weakness is CWE-345 (insufficient verification of data authenticity). The record was published on 2018-11-02 (NVD, CVE record).
How severe is CVE-2018-7798?
NVD, CISA and the CISA ADP container in the CVE record all give CVE-2018-7798 the same 8.2 vector: network attack vector, low complexity, no privileges and no user interaction, with high integrity and low availability impact. CISA's ICSA-18-324-02 of 2018-11-20 scores it CVSS v3 8.2 and says that no known public exploits specifically target this vulnerability. The CVE record's CNA container from Schneider Electric has no CVSS metric of its own. The ADP container's SSVC entry reads exploitation none, automatable yes, technical impact partial. "Automatable yes" matters here: the attack needs no credentials and no user interaction, so it scales to every M221 an attacker can reach.
What can an attacker do with CVE-2018-7798?
CISA describes the flaw as an "improper implementation of the network configuration module in UMAS protocol", which may allow an attacker to intercept a target PLC's network traffic by remotely modifying configuration parameters. Schneider's description names the parameters: the IPv4 address, mask and gateway. Changing the gateway is enough to route the controller's traffic through a host the attacker controls; changing the address can take the PLC off its HMI and SCADA links. CISA credits Eran Goldstein of CRITIFENCE with the report and lists Commercial Facilities as the sector. UMAS is Schneider's engineering protocol carried over Modbus/TCP on port 502; other unauthenticated UMAS flaws in Modicon controllers include CVE-2018-7842 and CVE-2018-7847.
Which products are affected?
CISA lists the Modicon M221, all versions, and names no fixed firmware. NVD's CPE configuration marks SoMachine Basic (cpe:2.3:a:schneider-electric:somachine_basic, every version) as the vulnerable component, paired with the Modicon M221 hardware CPE; it has no M221 firmware CPE. SoMachine Basic is the earlier name of EcoStruxure Machine Expert - Basic, the M221 programming software. A scanner that matches only firmware CPEs therefore misses this CVE on an M221 asset, and one that matches the software CPE flags engineering workstations rather than the controller.
How do you mitigate CVE-2018-7798?
There is no firmware fix in CISA's advisory, and CISA points to Schneider's security notice SEVD-2018-270-01. The two device-specific steps CISA lists are: set up a firewall blocking all remote and external access to port 502, and, within the Modicon M221 application, disable all unused protocols, especially the programming protocol, as described in "Configuring Ethernet Network" in the SoMachine Basic online help, which prevents remote programming of the M221. CISA's general steps add keeping controllers in locked cabinets and never in "Program" mode, and never connecting programming software to any network other than the one intended for the device. Watch for unplanned IP, mask or gateway changes on M221s in your asset inventory as a detection signal. Our Modicon and UMAS security guide covers port 502 filtering and Schneider controller hardening, and the authentication bypass fix guide explains this class of flaw. Later M221 programming-link flaws are CVE-2020-7565 and CVE-2020-7566.
CVE-2018-7798 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.00655, the 52.3rd percentile, in the 2026-11-20 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD (read 2026-11-21): status Modified; published 2018-11-02; NVD Primary CVSS v3.1 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L, v2 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P; CISA-ADP Secondary 8.2 same vector; CWE-345 (NVD Primary); CPE configuration: somachine_basic all versions (vulnerable) with modicon_m221 hardware; reference SEVD-2018-270-01. — NVD
- CISA ICSA-18-324-02 CSAF (released 2018-11-20), read 2026-11-21: CVE-2018-7798 CWE-345, CVSS v3 8.2 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L; improper implementation of the network configuration module in UMAS protocol may allow an attacker to intercept a target PLC's network traffic by remotely modifying configuration parameters; Modicon M221 all versions; mitigations: firewall blocking remote/external access to port 502, disable unused protocols especially programming protocol (SoMachine Basic online help, Configuring Ethernet Network); points to Schneider SEVD-2018-270-01; no known public exploits; credits Eran Goldstein of CRITIFENCE; sector Commercial Facilities. — CISA CSAF ICSA-18-324-02
- CVE record (checked 2026-11-21): state PUBLISHED, CNA Schneider Electric, published 2018-11-02; CNA problem type Insufficient Verification of Data Authenticity, no CNA CVSS metric; CISA-ADP CVSS v3.1 8.2 and SSVC (exploitation none, automatable yes, technical impact partial). — CVE.org
- Not in the CISA KEV catalog, version 2026.11.20 (1,790 entries), checked 2026-11-21. — CISA KEV
- EPSS 0.00655, 52.3rd percentile, dataset 2026-11-20, read 2026-11-21. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Is there a firmware update for CVE-2018-7798?
CISA's ICSA-18-324-02 lists all Modicon M221 versions as affected and gives no fixed firmware; its device-specific steps are a firewall on port 502 and disabling unused protocols, especially the programming protocol, in the M221 application.
Does the attacker need a password?
No. NVD and CISA score the attack as network-reachable with no privileges and no user interaction, and the CISA ADP SSVC entry marks it automatable.
Why might my scanner miss CVE-2018-7798 on an M221?
NVD's CPE configuration names the SoMachine Basic software as the vulnerable component, paired with the M221 hardware, and lists no M221 firmware CPE. Matching on firmware CPEs alone will not flag the controller.
How can I detect exploitation?
The attack changes the PLC's IPv4 address, mask or gateway. Alert on unplanned changes to those values in your asset inventory and on port 502 traffic to M221s from hosts other than the engineering workstations and HMIs you expect.
Questions about this page?