Schneider Electric Modicon M580 UMAS Read Memory Block Out Of Bounds Information Disclosure Vulnerability
The UMAS memory block read command on the Modicon M580 programmable automation controller does not properly validate the offset field, allowing an attacker to read beyond the intended memory block. This can disclose sensitive information from other memory blocks or device firmware.
Originally disclosed on Cisco Talos
An exploitable information disclosure vulnerability exists in the UMAS memory block read functionality of the Schneider Electric Modicon M580 Programmable Automation Controller. A specially crafted UMAS request can cause an out of bounds read, resulting in disclosure of sensitive information.
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 UMAS memory block read command does not validate that the offset and size fields keep the read within the bounds of the designated memory block.
Impact
An attacker can read sensitive information from other memory blocks or device firmware, potentially exposing secrets or internal data.
What the attacker needed
Network access to the device on port 502; no authentication required
The fix
The vendor patched the vulnerability, likely by adding bounds checking to the offset and size fields.
How it was found
- Connect to the device on TCP port 502.
- Send a UMAS MEMORY_BLOCK_READ request with a chosen block number and offset.
- Receive the response containing data from beyond the intended memory block.
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 command to read a chunk of its memory. The command includes a starting point (offset) and a size. The device fails to check that the offset stays within the allowed memory area, so an attacker can ask for data from outside that area and see information that should be secret.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.