CODESYS Gateway Server Opcode 0x3ef Heap Buffer Overflow Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of CODESYS Gateway Server. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the handling of the 0x3ef opcode. An attacker can send a large buffer of data to the server which will cause a heap buffer overflow. An attacker can leverage this vulnerability to execute code under the context of the process.
Additional Details
Codesys has issued an update to correct this vulnerability. More details can be found at:
https://ics-cert.us-cert.gov/advisories/ICSA-15-258-02
Disclosure Timeline
- 2015-03-06 - Vulnerability reported to vendor
- 2015-09-16 - Coordinated public release of advisory
Credit
Josep Pi Rodriguez