Advisory Details

December 15th, 2023

Schneider Electric C-Bus Toolkit FileCommand Directory Traversal Remote Code Execution Vulnerability

ZDI-23-1796
ZDI-CAN-21129

CVE ID CVE-2023-5399
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Schneider Electric
AFFECTED PRODUCTS C-Bus Toolkit
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Schneider Electric C-Bus Toolkit. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the FileCommand command. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of NETWORK SERVICE.

ADDITIONAL DETAILS Schneider Electric has issued an update to correct this vulnerability. More details can be found at:
https://www.cisa.gov/news-events/ics-advisories/icsa-23-306-06
DISCLOSURE TIMELINE
  • 2023-07-13 - Vulnerability reported to vendor
  • 2023-12-15 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES