(Pwn2Own) Phoenix Contact CHARX SEC-3100 Untrusted Search Path Local Privilege Escalation Vulnerability
Vulnerability Details
This vulnerability allows local attackers to escalate privileges on affected installations of Phoenix Contact CHARX SEC-3100 devices. 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 charx_set_timezone binary. The issue results from executing a program from an untrusted location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.
Additional Details
Phoenix Contact has issued an update to correct this vulnerability. More details can be found at:
https://cert.vde.com/en/advisories/VDE-2024-019/
Disclosure Timeline
- 2024-02-21 - Vulnerability reported to vendor
- 2024-05-29 - Coordinated public release of advisory
- 2024-07-01 - Advisory Updated
Credit
Sina Kheirkhah (@SinSinology) of Summoning Team (@SummoningTeam)