exploit the possibilities

CODESYS Denial Of Service

CODESYS Denial Of Service
Posted Nov 1, 2021
Authored by Gerhard Hechenberger, S. Robertz | Site sec-consult.com

CODESYS Runtime Toolkit 32-bit versions prior to suffer from a denial of service vulnerability.

tags | advisory, denial of service
advisories | CVE-2021-34593
SHA-256 | e2c08ed088508dee09719da1812fdba8c069873d79d63fec42f1375ec7b871d9

CODESYS Denial Of Service

Change Mirror Download
SEC Consult Vulnerability Lab Security Advisory < 20211028-0 >
title: CODESYS V2 Denial of Service
product: CODESYS Runtime Toolkit 32-bit, CODESYS PLCWinNT
vulnerable version: <V2.4.7.56
fixed version: V2.4.7.56
CVE number: CVE-2021-34593
impact: High
homepage: https://www.codesys.com/
found: 2021-05-05
by: SEC Consult Vulnerability Lab
This vulnerability was discovered during the research
cooperation initiative "OT Cyber Security Lab" between
Verbund AG and SEC Consult Group.
Gerhard Hechenberger (Office Vienna)
Steffen Robertz (Office Vienna)

An integrated part of SEC Consult, an Atos company
Europe | Asia | North America



Vendor description:
"CODESYS is the leading manufacturer-independent IEC 61131-3 automation
software for engineering control systems."

Source: https://www.codesys.com/

Business recommendation:
The vendor provides patches. The vendors of products using the affected
software should provide new firmware versions immediately. Users of these
products should update their devices to those fixed firmware versions.

Vulnerability overview/description:
The CODESYS Control runtime system is the core of many PLCs. The runtime is
accepting TCP connections on a pre-configured port to connect to the
development system. By sending requests that define an invalid packet size,
a memory allocation error can be triggered. This leads to a denial of service
condition of the remote connectivity of the CODESYS service, which prevents
clients from connecting to the affected PLC.

CODESYS released a dedicated security note, which corresponds to this advisory:

Proof of concept:
A detailed proof of concept will be made public after the affected product
vendors had time to provide new firmware versions.

Vulnerable / tested versions:

Vendor contact timeline:
2021-05-25: Contacting 3rd party vendor of a product using the CODESYS runtime
about this issue.
2021-08-11: Vendor states that this issue was already fixed in a recent CODESYS
2021-08-18: A check on the product's most recent public firmware release
shows that the vulnerability still exists. The vendor is notified
again about this outcome.
2021-09-01: The vendor confirms and ensures the issue is investigated in
collaboration with CODESYS.
2021-10-15: CODESYS informs about the assigned CVE-2021-34593 and the planned
publishing date.
2021-10-28: Coordinated release.

Immediately update to the patched version of CODESYS.

To mitigate this issue, access to the CODESYS service port of the affected
devices should be limited as far as possible. In the long run, the updated
firmware of the product vendor containing a patched CODESYS service must be

Advisory URL:


SEC Consult Vulnerability Lab

SEC Consult, an Atos company
Europe | Asia | North America

About SEC Consult Vulnerability Lab
The SEC Consult Vulnerability Lab is an integrated part of SEC Consult, an
Atos company. It ensures the continued knowledge gain of SEC Consult in the
field of network and application security to stay ahead of the attacker. The
SEC Consult Vulnerability Lab supports high-quality penetration testing and
the evaluation of new offensive and defensive technologies for our customers.
Hence our customers obtain the most current information about vulnerabilities
and valid recommendation about the risk profile of new technologies.

Interested to work with the experts of SEC Consult?
Send us your application https://sec-consult.com/career/

Interested in improving your cyber security with the experts of SEC Consult?
Contact our local offices https://sec-consult.com/contact/

Mail: research at sec-consult dot com
Web: https://www.sec-consult.com
Blog: http://blog.sec-consult.com
Twitter: https://twitter.com/sec_consult

EOF Gerhard Hechenberger, Steffen Robertz / @2021

Login or Register to add favorites

File Archive:

May 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    0 Files
  • 2
    May 2nd
    15 Files
  • 3
    May 3rd
    19 Files
  • 4
    May 4th
    24 Files
  • 5
    May 5th
    15 Files
  • 6
    May 6th
    14 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    13 Files
  • 10
    May 10th
    7 Files
  • 11
    May 11th
    99 Files
  • 12
    May 12th
    45 Files
  • 13
    May 13th
    7 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    16 Files
  • 17
    May 17th
    26 Files
  • 18
    May 18th
    4 Files
  • 19
    May 19th
    17 Files
  • 20
    May 20th
    2 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    6 Files
  • 24
    May 24th
    19 Files
  • 25
    May 25th
    5 Files
  • 26
    May 26th
    12 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Security Services
Hosting By