Security Advisory

CVE-2018-7847: Modicon UMAS Strategy Overwrite

Last updated:
  • CVE-2018-7847

CVE-2018-7847 is an access control flaw in the UMAS protocol of Schneider Electric Modicon M580, M340, Quantum and Premium controllers: unauthenticated commands over Modbus TCP 502 can overwrite the controller's program and security settings, causing denial of service or code execution. NVD and Schneider score it 9.8. The fix is M580 SV4.20 or M340 SV3.60 with an application password.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

3.8%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2018-7847 · Source: NVD

Affected components

ComponentCPEVersion range
Modicon M580 (BMEP*, BMEH*, excluding M580 CPU Safety)cpe:2.3:o:schneider-electric:modicon_m580_firmware:*:*:*:*:*:*:*:*Affected before v2.90 (SEVD-2019-134-11 table); current remediation firmware SV4.20 with EcoStruxure Control Expert v16.0 and an application password (SEVD-2019-134-11 v14.0.0, CISA ICSA-25-114-01)
Modicon M340 CPU (BMXP34*)cpe:2.3:o:schneider-electric:modicon_m340_firmware:*:*:*:*:*:*:*:*Affected before v3.10 (SEVD-2019-134-11 table); current remediation firmware SV3.60 with Control Expert v16.0 or later and an application password
Modicon Quantum and Quantum Safetycpe:2.3:o:schneider-electric:modicon_quantum_firmware:*:*:*:*:*:*:*:*All versions; end of life, no fix; mitigations only (SEVD-2019-134-11; the CISA CSAF uses its remediation category for no fix)
Modicon Premiumcpe:2.3:o:schneider-electric:modicon_premium_firmware:*:*:*:*:*:*:*:*All versions; end of life, no fix; mitigations only (SEVD-2019-134-11; the CISA CSAF uses its remediation category for no fix)

What does this mean for affected devices?

NVD carries Schneider Electric's description: "A CWE-284: Improper Access Control vulnerability exists in all versions of the Modicon M580, Modicon M340, Modicon Quantum, and Modicon Premium which could cause denial of service or potential code execution by overwriting configuration settings of the controller over Modbus." 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), with NVD's own classification CWE-287 (improper authentication) and a legacy CVSS v2 score of 7.5. Schneider Electric is the CNA; the record was published on 2019-05-22 and carries no CNA score (NVD, CVE record).

How does the overwrite work?

Cisco Talos found it. TALOS-2018-0742, published on 2019-06-10, describes "an exploitable unauthenticated file write vulnerability" in the UMAS strategy programming function of a Modicon M580 BMEP582040 on firmware SV2.70: "A specially crafted sequence of UMAS commands can cause the device to overwrite its programmed strategy." The sequence is the normal download path: take a PLC reservation, initialise the upload, send the blocks, end the upload, release the reservation. Talos shows two effects. Editing the ST_SECURITY and ST_ACL parameters in a strategy read from the device reproduces UnityPro's 'Unlock Security' option and re-enables services that had been disabled. Inserting an invalid instruction into the compiled logic puts the CPU into a non-recoverable fault that stops communications and logic and needs a power cycle. Talos scores it 9.8 with CWE-284 and credits Jared Rittle. NVD also links TALOS-2018-0743, which Talos files under CVE-2018-7850.

Which firmware fixes it?

Schneider's SEVD-2019-134-11, version 14.0.0 of 2026-09-08, scores CVE-2018-7847 at CVSS v3.1 9.8 and CVSS v4.0 9.3 with CWE-284. Its table lists M580 before v2.90 and M340 before v3.10 as affected, along with all versions of Quantum, Quantum Safety and Premium. Remediation steps were added for M580 and M340 in version 5.0.0 of 2020-10-12, and the current notice gives M580 firmware SV4.20 and M340 SV3.60, installed with EcoStruxure Control Expert v16.0, an application password set in the project, and the project rebuilt and transferred. Quantum, Quantum Safety and Premium have reached end of life and get no fix; Schneider points to migration to M580. CISA republishes the notice as ICSA-25-114-01 (Update A); the CSAF file marks the two firmware versions as fixed and gives the end-of-life lines the remediation category for no fix.

What if the controller cannot be updated?

Schneider's mitigations are to set an application password in the project properties, segment the network and firewall all unauthorised access to TCP 502, configure the controller's access control list, and set up secured communication; for M580 that means IPsec through a BMENOC module. Our Schneider Modicon UMAS protocol security guide explains reservations and application passwords, and the Modbus protocol security guide covers filtering port 502. Related UMAS advisories from the same notice are the session brute force CVE-2018-7842, the session disconnect CVE-2018-7846 and the configuration overwrite CVE-2019-6808.

CVE-2018-7847 is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18, 1,786 entries). FIRST EPSS gives it 0.03808, the 90.2nd percentile, in the 2026-11-18 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Authentication bypass. Our practical guide covers how to detect, fix, verify and disclose it: How to fix authentication bypass in embedded firmware.

Evidence

  • NVD: CWE-284 improper access control in all versions of Modicon M580, M340, Quantum and Premium, DoS or potential code execution by overwriting configuration settings over Modbus; NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, v2 7.5; NVD Primary CWE-287; CPE firmware of the four lines, no version limits; references SEVD-2019-134-11, TALOS-2018-0742 and TALOS-2018-0743; published 2019-05-22; read 2026-11-19. — NVD
  • CVE record: state PUBLISHED, CNA Schneider Electric (schneider), published 2019-05-22; no CNA CVSS metric; checked 2026-11-19. — CVE.org
  • SEVD-2019-134-11 v14.0.0 (08 September 2026): CVE-2018-7847 CVSS v3.1 9.8, CVSS v4.0 9.3, CWE-284; affected M580 prior to v2.90, M340 prior to v3.10, Quantum, Quantum Safety, Premium all versions; v2.0.0 (2019-08-13) added M340 v3.10 fix; v5.0.0 (2020-10-12) added remediation steps for M580 and M340; remediation M580 SV4.20 and M340 SV3.60 with Control Expert v16.0, application password, rebuild and transfer; Quantum/Premium end of life; mitigations application password, firewall 502/TCP, ACL, secure communication (BMENOC IPsec); credits Jared Rittle (Cisco Talos), Pavel Nesterov and Artem Zinenko (Kaspersky ICS CERT); read 2026-11-19. — Schneider Electric
  • CISA ICSA-25-114-01 'Schneider Electric Modicon Controllers (Update A)', CSAF revision 19 of 2026-04-23: CVE-2018-7847 CWE-284, CVSS v3.1 9.8; fixed M580 firmware 4.20 and M340 firmware 3.60; Quantum, Quantum Safety and Premium carry the CSAF remediation category for no fix; read 2026-11-19 from the CSAF file. — CISA ICS advisory / CSAF
  • TALOS-2018-0742 (2019-06-10): Modicon M580 UMAS strategy file write, CVE-2018-7847; tested M580 BMEP582040 SV2.70; unauthenticated UMAS command sequence overwrites programmed strategy; scenarios unlock security via ST_SECURITY/ST_ACL and non-recoverable fault needing power cycle; CVSS v3.0 9.8, CWE-284; timeline initial contact 2018-12-10, vendor patched 2019-05-14; discovered by Jared Rittle. TALOS-2018-0743 is filed under CVE-2018-7850; read 2026-11-19. — Cisco Talos
  • Not in the CISA KEV catalog version 2026.11.18 (1,786 entries), checked 2026-11-19. — CISA KEV
  • EPSS 0.03808, percentile 0.90239, dataset 2026-11-18, read 2026-11-19. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2018-7847
  3. Schneider Electric SEVD-2019-134-11: Multiple Vulnerabilities in Modicon Controller Products
  4. CISA ICSA-25-114-01: Schneider Electric Modicon Controllers (Update A)
  5. CISA CSAF: ICSA-25-114-01 (machine-readable advisory)
  6. Cisco Talos TALOS-2018-0742: Modicon M580 UMAS strategy file write
  7. CISA KEV
  8. FIRST EPSS

Frequently asked questions

Which Modicon firmware fixes CVE-2018-7847?

Schneider's current notice gives M580 firmware SV4.20 and M340 firmware SV3.60, installed with EcoStruxure Control Expert v16.0, an application password set in the project, and the project rebuilt and transferred. Quantum, Quantum Safety and Premium are end of life with no fix (per SEVD-2019-134-11 v14.0.0 and CISA ICSA-25-114-01).

What can an attacker do with CVE-2018-7847?

Send the UMAS download sequence without authentication and replace the controller's program. Talos showed this can reproduce the 'Unlock Security' setting and re-enable disabled remote services, or put the CPU into a non-recoverable fault that needs a power cycle (per TALOS-2018-0742).

How can CVE-2018-7847 be mitigated on end-of-life Quantum and Premium controllers?

Segment the network and firewall all unauthorised access to TCP 502, and configure the access control list as the product manuals describe. Schneider also recommends planning migration to the Modicon M580 (per SEVD-2019-134-11 and the CISA CSAF).

Is CVE-2018-7847 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18). FIRST EPSS gives it 0.03808, the 90.2nd percentile, in the 2026-11-18 dataset (per CISA KEV and FIRST EPSS).