Skip to content
Access control Advisory Intermediate CVE-2018-7842

Schneider Electric Modicon M580 UMAS Improper Authentication Vulnerability

The device uses a one-byte session ID for privileged UMAS commands, allowing an attacker to brute-force the session ID and masquerade as an authenticated user. This lets the attacker execute privileged commands, such as downloading the PLC strategy, without knowing the device password.

Jared Rittle Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable improper authentication vulnerability exists in the UMAS PLC reservation function of the Schneider Electric Modicon M580 Programmable Automation Controller, firmware version SV2.70. A specially crafted UMAS command can allow an attacker to masquerade as an authenticated user, resulting in the ability to…

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

Impact

An attacker could bypass password protections and execute privileged commands, including downloading the PLC strategy, which may contain sensitive information such as SNMP community strings.

What the attacker needed

Network access to the PLC

The fix

The vulnerability was fixed by the vendor in a later firmware version.

How it was found

  1. Connect to the PLC's Modbus TCP port.
  2. Send INITIALIZE_UPLOAD commands with each possible session ID value.
  3. Check the response code; a value of 0xFE indicates a valid session.
  4. Use the discovered session ID to send privileged commands such as INITIALIZE_DOWNLOAD and DOWNLOAD_BLOCK.
  5. Download the PLC strategy and extract sensitive data like SNMP community strings.

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 controller uses a short numeric code (a session ID) to check if someone is allowed to run sensitive commands. Because the code is only one byte long, there are just 256 possible values, so an attacker can quickly try them all until one works. Once they find a valid code, they can pretend to be a logged-in user and run commands like downloading the device's configuration.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.