Allen Bradley Micrologix 1400 Series B Memory Module Store Program File Write Vulnerability
The Micrologix 1400 PLC allows an unauthenticated network packet to instruct the device to write its current program to an installed memory module. An attacker could use this to change what program the device loads on power-up or after an error, and combined with other flaws, alter settings and flash firmware.
Originally disclosed on Cisco Talos
An exploitable file write vulnerability exists in the memory module functionality of Allen Bradley Micrologix 1400 Series B FRN 21.2 and before. A specially crafted packet can cause a file write resulting in a new program being written to the memory module.
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 overwrite the program stored on the memory module, and by chaining this with other flaws could change device settings and flash new firmware; the text does not claim direct code execution from this write alone.
What the attacker needed
Network reachability to the PLC; a memory module installed; no credentials needed
The fix
The text gives no vendor patch; it recommends network segmentation and monitoring traffic to the PLC, and notes that disabling EtherNet/IP through the engineering software does not stop the attack.
How it was found
- Connect to the PLC's EtherNet/IP port and register a session.
- Put the CPU into program mode.
- Send the store-to-memory-module instruction.
- Close the connection.
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.
A programmable logic controller (PLC) is the small industrial computer that runs machinery. This report shows that anyone who can reach the device over the network can tell it to copy its running program onto a plug-in memory card, without logging in. Because that card can be set to load automatically at startup, an attacker could influence what the machine runs.
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.