CODESYS Development System Exposure of Resource to Wrong Sphere Local Privilege Escalation Vulnerability
Vulnerability Details
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.
Additional Details
CODESYS has issued an update to correct this vulnerability. More details can be found at:
https://cert.vde.com/en/advisories/VDE-2023-024/
Disclosure Timeline
- 2023-04-13 - Vulnerability reported to vendor
- 2023-08-03 - Coordinated public release of advisory
Credit
Sina Kheirkhah (@SinSinology) of Summoning Team (@SummoningTeam)