Schneider Electric Modicon M580 FTP incomplete firmware update denial-of-service vulnerability
The FTP firmware update function of the Modicon M580 accepts an upgrade request for the main firmware without a following request for the web firmware, leaving the device in a fault state. An attacker with the default loader credentials could stop normal device execution, though communication with programming tools remains possible.
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 set of FTP commands can cause the device to enter a recoverable fault state, resulting in a stoppage of…
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 does not handle a partial two-stage firmware update, so a missing second request leaves it in an uncaught fault state.
Impact
Normal device execution stops and the controller enters a recoverable fault state, though programming tools can still communicate with it.
What the attacker needed
Default loader FTP credentials; network access to the device's FTP service
How it was found
- Log in to the device's FTP service with the loader credentials.
- Create the required firmware directory structure on the device.
- Upload the firmware files to the device.
- Stop the device and check its state.
- Send the upgrade command for the main firmware only.
- Poll the loader status until it reports completion and the device faults.
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 update over FTP expects two parts, main and web; sending only the first leaves the device waiting and stops normal execution. The attacker needs the default FTP login that ships with the device.
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.