Schneider Electric Modicon M580 FTP firmware update loader service denial-of-service vulnerability
The FTP firmware update loader service on the Schneider Electric Modicon M580 can be put into a 'not ready' state by sending a UGRD command when the directory and file structure is not correctly configured. This prevents any further firmware updates via FTP until the device is physically reset.
Originally disclosed on Cisco Talos
An exploitable denial-of-service vulnerability exists in the FTP firmware update service function of the Schneider Electric Modicon M580 Programmable Automation Controller, firmware version SV2.80. A specially ordered set of FTP commands can cause the FTP loader service to enter a waiting state, resulting in an…
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
Impact
The device can no longer conduct firmware updates via FTP until a physical reset is performed, causing a denial of service for the update mechanism.
What the attacker needed
Default FTP credentials; network access to FTP port
How it was found
- Connect to the FTP service on the device.
- Log in using the default loader credentials.
- Send the UGRD command with an arbitrary flash channel and index.
- Observe that the loader service enters a 'not ready' state and does not recover.
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.
The device has a special FTP command that starts a firmware update. If you send that command without the right files in place, the update service gets stuck and won't accept new updates. The only way to fix it is to press the physical reset button on 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.