// For flags

CVE-2023-3670

Codesys: Vulnerability in CODESYS Development System and CODESYS Scripting

Severity Score

7.3
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

This vulnerability allows local attackers to escalate privileges on affected installations of CODESYS Development System. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
The specific flaw exists within the handling of python scripts. The issue results from the lack of resource separation between control spheres. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the Administrator.

*Credits: Sina Kheirkhah (@SinSinology) of Summoning Team (@SummoningTeam)
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-07-14 CVE Reserved
  • 2023-07-28 CVE Published
  • 2023-08-04 EPSS Updated
  • 2024-08-02 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-668: Exposure of Resource to Wrong Sphere
CAPEC
References (1)
URL Tag Source
https://cert.vde.com/en/advisories/VDE-2023-024 Third Party Advisory
URL Date SRC
URL Date SRC
URL Date SRC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Codesys
Search vendor "Codesys"
Development System
Search vendor "Codesys" for product "Development System"
>= 3.5.9.0 < 3.5.17.0
Search vendor "Codesys" for product "Development System" and version " >= 3.5.9.0 < 3.5.17.0"
-
Affected
Codesys
Search vendor "Codesys"
Scripting
Search vendor "Codesys" for product "Scripting"
>= 4.0.0.0 < 4.1.0.0
Search vendor "Codesys" for product "Scripting" and version " >= 4.0.0.0 < 4.1.0.0"
-
Affected