Advisory Details

May 29th, 2024

(Pwn2Own) Phoenix Contact CHARX SEC-3100 Filename Command Injection Remote Code Execution Vulnerability

ZDI-24-522
ZDI-CAN-23330

CVE ID CVE-2024-28135
CVSS SCORE 6.8, AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Phoenix Contact
AFFECTED PRODUCTS CHARX SEC-3100
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Phoenix Contact CHARX SEC-3100 devices. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the handling of the filename parameter to the update2-install endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the user-app account.

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)
BACK TO ADVISORIES