CyberSecBulletin
CVE-2022-4224NVD status: Modified

Control RTE (SL): Initialization of a Resource with an Insecure Default

CVE-2022-4224 is a high-severity initialization of a resource with an insecure default vulnerability in Control RTE (SL) from Codesys, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version 3.5.19.0 as the first without the flaw, so updating Control RTE (SL) to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.88% chance of exploitation within 30 days, higher than 60% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Control RTE (SL) to 3.5.19.0 or a later version.
  2. Update Control RTE (for Beckhoff CX) SL to 3.5.19.0 or a later version.
  3. Update Control Win (SL) to 3.5.19.0 or a later version.
  4. Read the advisory on customers.codesys.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
CODESYSControl RTE (SL)3.0.0.0 up to, but not including, 3.5.19.03.5.19.0
CODESYSControl RTE (for Beckhoff CX) SL3.0.0.0 up to, but not including, 3.5.19.03.5.19.0
CODESYSControl Win (SL)3.0.0.0 up to, but not including, 3.5.19.03.5.19.0
CODESYSRuntime Toolkit3.0.0.0 up to, but not including, 3.5.19.03.5.19.0
CODESYSSafety SIL2 Runtime Toolkit3.0.0.0 up to, but not including, 3.5.19.03.5.19.0
CODESYSSafety SIL2 PSP3.0.0.0 up to, but not including, 3.5.19.03.5.19.0
CODESYSHMI (SL)3.0.0.0 up to, but not including, 3.5.19.03.5.19.0
CODESYSDevelopment System V33.0.0.0 up to, but not including, 3.5.19.03.5.19.0
CODESYSControl for BeagleBone SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CODESYSControl for emPC-A/iMX6 SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CODESYSControl for IOT2000 SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CODESYSControl for Linux SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CODESYSControl for PFC100 SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CODESYSControl for PFC200 SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CODESYSControl for PLCnext SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CODESYSControl for Raspberry Pi SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CODESYSControl for WAGO Touch Panels 600 SL3.0.0.0 up to, but not including, 4.8.0.04.8.0.0
CodesysControl Rte Sl (for Beckhoff Cx)3.0 up to, but not including, 3.5.19.03.5.19.0
CodesysDevelopment System3.0 up to, but not including, 3.5.19.03.5.19.0
CodesysSafety Sil23.0 up to, but not including, 3.5.19.03.5.19.0

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.8HighCNA (cert.vde.com)
CVSS 3.18.8HighNVD

Official description

In multiple products of CODESYS v3 in multiple versions a remote low privileged user could utilize this vulnerability to read and modify system files and OS resources or DoS the device.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Initialization of a Resource with an Insecure Default

The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

More Initialization of a Resource with an Insecure Default vulnerabilities (CWE-1188)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Control RTE (SL)

All Control RTE (SL) vulnerabilities

Recent Initialization of a Resource with an Insecure Default vulnerabilities

Spotted an error? Tell us.