CyberSecBulletin
CVE-2023-3670NVD status: Modified

CODESYS Development System: Exposure of Resource to Wrong Sphere

CVE-2023-3670 is a high-severity exposure of resource to wrong sphere vulnerability in CODESYS Development System from Codesys, with a CVSS 3.1 base score of 7.3 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, but only if a user takes part, for example by opening a link or file. The record lists version 3.5.17.0 as the first without the flaw, so updating CODESYS Development System to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.2% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update CODESYS Development System to 3.5.17.0 or a later version.
  2. Update CODESYS Scripting to 4.1.0.0 or a later version.
  3. Update Development System to 3.5.17.0 or a later version.
  4. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
CODESYSCODESYS Development System3.5.9.0 up to, but not including, 3.5.17.03.5.17.0
CODESYSCODESYS Scripting4.0.0.0 up to, but not including, 4.1.0.04.1.0.0
CodesysDevelopment System3.5.9.0 up to, but not including, 3.5.17.03.5.17.0
CodesysScripting4.0.0.0 up to, but not including, 4.1.0.04.1.0.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
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
RequiredA user must take an action such as opening a file or link.
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:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. Scored by CNA (cert.vde.com).

Official description

In CODESYS Development System 3.5.9.0 to 3.5.17.0 and CODESYS Scripting 4.0.0.0 to 4.1.0.0 unsafe directory permissions would allow an attacker with local access to the workstation to place potentially harmful and disguised scripts that could be executed by legitimate users.

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

The underlying weakness: Exposure of Resource to Wrong Sphere

The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

More Exposure of Resource to Wrong Sphere vulnerabilities (CWE-668)

Timeline

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

References

Third-party and government advisories

Other vulnerabilities in CODESYS Development System

All CODESYS Development System vulnerabilities

Recent Exposure of Resource to Wrong Sphere vulnerabilities

Spotted an error? Tell us.