AutomationDirect P3-550E Programming Software Connection FiBurn heap-based buffer overflow vulnerability
A heap-based buffer overflow exists in the Programming Software Connection service of the AutomationDirect P3-550E PLC. An unauthenticated attacker can send a specially crafted UDP packet to crash the device.
Originally disclosed on Cisco Talos
A heap-based buffer overflow vulnerability exists in the Programming Software Connection FiBurn functionality of AutomationDirect P3-550E 1.2.10.9. A specially crafted network packet can lead to a buffer overflow.
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 an integer overflow in the calculation of the allocation size (payload_len + 0x14) combined with an unchecked copy using strncpy, leading to a buffer overflow.
Impact
An unauthenticated attacker could crash the device, causing a denial of service.
What the attacker needed
Network access to UDP port 9999
The fix
The vendor released a patch; the underlying issue should be fixed by validating the payload length before allocation and copy.
How it was found
- Send a UDP packet to port 9999 with the IMM field set to 0xD and the second byte set to 0x12.
- Include a payload length field at offset 0x10 with a large value that causes payload_len + 0x14 to overflow.
- Provide a payload starting at offset 0x14 that is large enough to trigger the overflow during strncpy.
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 a memory corruption bug in an industrial controller. The device trusts a length value in a network packet and uses it to allocate memory and copy data without checking if the length is too large, which can crash the device.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.