Skip to content
DoS Advisory Intermediate CVE-2019-6843

Schneider Electric Modicon M580 malformed firmware image FTP upgrade denial-of-service vulnerability

The FTP firmware upgrade function on the Modicon M580 only checks that an uploaded firmware image has a valid header, not that it contains real content. An attacker with the default FTP credentials could upload an empty but correctly named image and cause the controller to enter a fault state, stopping normal execution.

Jared Rittle Follow

Originally disclosed on Cisco Talos

Medium 4.9 View original

An exploitable denial-of-service vulnerability exists in the FTP firmware update function of the Schneider Electric Modicon M580 Programmable Automation Controller, firmware version SV2.80. A specially crafted firmware image can cause the device to enter a recoverable fault state, resulting in a stoppage of normal…

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 firmware validation only checks the image header and filename, so an image with no actual content passes the check and leaves the loader in a fault state.

Impact

Normal device execution stops and the controller stays in a recoverable fault state, though communication with programming tools remains possible.

What the attacker needed

Network access to the device's FTP service; default loader FTP credentials

How it was found

  1. Log in to the device's FTP service using the default loader credentials.
  2. Delete any existing firmware files and directories to avoid state problems.
  3. Recreate the expected firmware directory structure on the device.
  4. Upload the firmware files, including an image with a valid header but no content.
  5. Stop the device and send the custom upgrade command.
  6. Poll the loader status until it reports an error, leaving the device in a fault state.

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.

A programmable automation controller is an industrial computer that runs machinery. Its firmware is the built-in software that makes it work. Here, the device accepted a firmware file that looked right at the start but was empty inside, and it stopped running normally until someone intervened.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.