Schneider Electric Modicon M580 UMAS REST API getcominfo information disclosure vulnerability
The UMAS REST API endpoint on the Modicon M580 returns memory contents when a client registers a name of a specific length. An unauthenticated attacker can send crafted requests to disclose system addresses.
Originally disclosed on Cisco Talos
An exploitable information disclosure vulnerability exists in the UMAS REST API getcominfo functionality of the Schneider Electric Modicon M580 Programmable Automation Controller firmware version SV2.80. A specially crafted HTTP request can cause the device to return arbitrary memory, resulting in the potential…
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 a missing bounds check when copying the client-provided reservation name into a fixed-size buffer, causing adjacent memory to be returned in the API response.
Impact
An unauthenticated attacker could disclose system memory addresses, which may aid further attacks; the data itself does not appear to be controllable.
What the attacker needed
Network access to the device; no authentication required
How it was found
- Connect to the device on the Modbus TCP port.
- Send a request to reserve the PLC with a client name of 51 bytes.
- Query the REST endpoint /rest/umas/getcominfo to retrieve the reservation name.
- Observe that the returned name is longer than expected and contains memory data.
- Release the reservation and repeat to collect more memory.
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.
This is a bug in an industrial controller's web interface. By sending a specially sized name when reserving the device, an attacker can make the device leak chunks of its memory, which may include internal addresses. No login is needed.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.