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.
Originally disclosed on Cisco Talos
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…
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
- Log in to the device's FTP service using the default loader credentials.
- Delete any existing firmware files and directories to avoid state problems.
- Recreate the expected firmware directory structure on the device.
- Upload the firmware files, including an image with a valid header but no content.
- Stop the device and send the custom upgrade command.
- 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.