Skip to content
Access control Advisory Advanced CVE-2018-7847

Schneider Electric Modicon M580 UMAS Strategy File Write Vulnerability

The Schneider Electric Modicon M580 programmable automation controller allows unauthenticated attackers to overwrite its programmed strategy via a sequence of UMAS commands. This can lead to configuration changes, disruption of the running process, and potential code execution.

Jared Rittle Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

An exploitable unauthenticated file write vulnerability exists in the UMAS strategy programming functionality of the Schneider Electric Modicon M580 Programmable Automation Controller firmware version SV2.70. A specially crafted sequence of UMAS commands can cause the device to overwrite its programmed strategy…

Jared Rittle, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the device does not properly authenticate or authorise UMAS commands used for strategy programming, allowing unauthenticated users to overwrite the strategy.

Impact

An attacker could modify the device configuration, disrupt the running process, or potentially execute code, and the report notes that a non-recoverable fault can be triggered by introducing an invalid instruction.

What the attacker needed

Network access to the device; no authentication required

The fix

The vendor patched the vulnerability.

How it was found

  1. Send a TAKE_PLC_RESERVATION request to obtain a session and privilege.
  2. Send an INITIALIZE_UPLOAD command to indicate a new program will follow.
  3. Send the first block of data using an UPLOAD_BLOCK command.
  4. Send a command with function code 0x6D.
  5. Send the new strategy in chunks of size 0x3F4 using UPLOAD_BLOCK, resending the first block.
  6. Send an END_STRATEGY_UPLOAD request and then a RELEASE_PLC_RESERVATION command.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This report describes a flaw in an industrial controller that lets anyone on the network send special commands to replace the program that runs the device. Because no password is needed, an attacker could change how the device behaves, stop it from working, or even run their own code on it.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Jared Rittle

View all

64 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.