Skip to content
DoS Advisory Intermediate CVE-2024-39590CVE-2024-39589

OpenPLC OpenPLC_v3 OpenPLC Runtime EtherNet/IP parser invalid pointer dereference vulnerabilities

The OpenPLC EtherNet/IP parser incorrectly casts pointers to 32-bit integers in memmove calls, truncating addresses on 64-bit systems. An attacker can send a crafted PCCC request to cause a segmentation fault and crash the server.

Jared Rittle Follow

Originally disclosed on Cisco Talos

High 7.5 View original

Multiple invalid pointer dereference vulnerabilities exist in the OpenPLC Runtime EtherNet/IP parser functionality of OpenPLCv3 16bf8bac1a36d95b73e7b8722d0edb8b9c5bb56a. A specially crafted EtherNet/IP request can lead to denial of service.

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 code casts a pointer to a 32-bit unsigned integer before passing it to memmove, truncating the address on 64-bit systems and causing an invalid dereference.

Impact

An attacker can send a series of EtherNet/IP requests to crash the OpenPLC server, causing denial of service.

What the attacker needed

Network access to EtherNet/IP port

The fix

The issue was fixed in a vendor patch; if patching is not possible, remove the three pointer casts in the memmove calls.

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.

OpenPLC is a software controller for industrial automation. A bug in how it handles a specific network message causes it to use a wrong memory address, which crashes the program. An attacker can send such a message to take the service down.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.