Skip to content
DoS Advisory Intermediate CVE-2019-6844

Schneider Electric Modicon M580 Mismatched Firmware Image FTP Upgrade Denial of Service Vulnerability

The FTP firmware upgrade on the Modicon M580 only checks that each uploaded image has a valid header and signature, not that it is the right kind of image. An attacker with the default FTP credentials could upload the main firmware image in place of the web firmware image, causing the controller to enter a recoverable fault state and stop 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 functionality 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 upgrade loader validated only the header and signature of each firmware image and never confirmed that the web image was actually a web image rather than the main image.

Impact

The device enters a recoverable fault state and normal execution stops, though communication with programming tools remains possible; the attacker needs the default FTP credentials.

What the attacker needed

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

The fix

The upgrade process should verify that each uploaded image is the correct image for its channel, not just that its header and signature are valid.

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, using the main firmware image in place of the web firmware image.
  5. Stop the device and send the custom upgrade command to start the firmware upgrade.
  6. Poll the loader status and send the second upgrade command for the web channel, after which the device enters a recoverable 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, and it can be updated over FTP, an old file-transfer protocol. Here the device checked that each uploaded file looked genuine but not that it was the correct type of file, so swapping one file for another broke the device until it was recovered.

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.