Schneider Electric Modicon M580 UMAS strategy read information disclosure vulnerability
The Modicon M580 programmable automation controller allows unauthenticated UMAS commands to read blocks of its programmed strategy, which includes plaintext SNMP community strings. An attacker could send these commands to extract the read, write, and trap SNMP community strings.
Originally disclosed on Cisco Talos
An exploitable information disclosure vulnerability exists in the UMAS strategy read functionality of the Schneider Electric Modicon M580 Programmable Automation Controller firmware version SV2.70. A specially crafted UMAS command can cause the device to return blocks of the programmed strategy, resulting in the…
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 download/read commands lack authentication and allow reading arbitrary blocks of the device's strategy, which stores SNMP community strings in plaintext.
Impact
An unauthenticated attacker could obtain the plaintext SNMP community strings, which may allow further unauthorised access to the device's SNMP interface.
What the attacker needed
Network access to the device on port 502; no authentication required
The fix
The vendor patched the vulnerability.
How it was found
- Connect to the device on TCP port 502.
- Send an INITIALIZE_DOWNLOAD UMAS request to prepare for block requests.
- Send DOWNLOAD_BLOCK requests with increasing block numbers to retrieve the strategy.
- Locate the static string 'BFPX' and parse the section header table to find the SNMP section.
- Extract the write, read, and trap SNMP community strings from the SNMP section data.
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 about an industrial controller that speaks a management protocol called UMAS. Without logging in, anyone who can reach the device can ask it to send back parts of its stored program, and that program contains passwords (SNMP community strings) in plain text. Those passwords could then be used to read or change settings on the device.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.