Skip to content
Info disclosure Advisory Intermediate CVE-2018-7845

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.

Jared Rittle Follow

Originally disclosed on Cisco Talos

High 7.5 View original

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.

Jared Rittle, on Cisco Talos

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

  1. Connect to the device on TCP port 502.
  2. Send a UMAS MEMORY_BLOCK_READ request with a chosen block number and offset.
  3. 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.

More by Jared Rittle

View all

64 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.