Skip to content
Memory corruption Advisory Advanced CVE-2024-24956CVE-2024-24957CVE-2024-24959CVE-2024-24958CVE-2024-24955CVE-2024-24954

AutomationDirect P3-550E Programming Software Connection FileSystem API out-of-bounds write vulnerabilities

The Programming Software Connection FileSystem API of the AutomationDirect P3-550E PLC contains multiple out-of-bounds write vulnerabilities. An attacker can send specially crafted UDP packets to write a null byte to an arbitrary address, potentially causing heap-based memory corruption and a denial of service.

Matt Wiseman Follow

Originally disclosed on Cisco Talos

High 8.2 View original

Several out-of-bounds write vulnerabilities exist in the Programming Software Connection FileSystem API functionality of AutomationDirect P3-550E 1.2.10.9. Specially crafted network packets can lead to heap-based memory corruption.

Matt Wiseman, 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

The code uses an attacker-controlled length field to index into a buffer and write a null terminator without validating that the index is within bounds.

Impact

An attacker could write a null byte to an arbitrary address, leading to heap-based memory corruption and potentially a denial of service; accurately controlling the overwrite is difficult without an info-leak.

What the attacker needed

Network access to UDP port 9999

The fix

The vendor released a patch on 2024-05-23.

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 report describes bugs in a programmable logic controller (PLC), a small industrial computer. The software that handles file operations on the PLC trusts a length value sent over the network and uses it to write a zero byte past the end of a buffer. An attacker on the network can send a crafted message to corrupt memory, which may crash the device or allow further exploitation.

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.

More by Matt Wiseman

View all

73 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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.