Skip to content
Memory corruption Advisory Advanced CVE-2020-13556

EIP Stack Group OpENer Ethernet/IP server out-of-bounds write vulnerability

An out-of-bounds write vulnerability exists in the Ethernet/IP server functionality of EIP Stack Group OpENer 2.3 and development commit 8c73bf3. A specially crafted series of network requests can lead to remote code execution.

Martin Zeiser Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

An out-of-bounds write vulnerability exists in the Ethernet/IP server functionality of EIP Stack Group OpENer 2.3 and development commit 8c73bf3. A specially crafted series of network requests can lead to remote code execution.

Martin Zeiser, 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 item_count value from the network packet is used as a loop bound without validating it against the size of the address_info_item array, leading to an out-of-bounds write.

Impact

A remote attacker could send a sequence of requests to trigger an out-of-bounds write, potentially leading to remote code execution.

What the attacker needed

Network access to the EtherNet/IP server

The fix

The vendor applied a fix to the master branch on 2020-12-02.

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 a memory corruption bug in a server program that speaks a industrial protocol called EtherNet/IP. The program reads a number from incoming network data and uses it to control a loop that writes into a fixed-size array without checking if the number is too large. An attacker can send a specially crafted request to write past the end of the array, potentially taking control of the program.

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 Martin Zeiser

View all

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