Advisory Details

February 22nd, 2022

(0Day) Fuji Electric Alpha5 Servo Operator C5P File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-22-389
ZDI-CAN-13990

CVE ID CVE-2022-21228
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Fuji Electric
AFFECTED PRODUCTS Alpha5
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Fuji Electric Alpha5. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of C5P files in the Server Operator module. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS

This vulnerability is being disclosed publicly without a patch in accordance with the ZDI 120 day deadline.
06/04/2021 – ZDI reported the vulnerability to ICS-CERT
10/05/2021 – ZDI requested the advisory link
10/18/2021 – ZDI requested an update
10/18/2021 – ICS-CERT indicated that the cases have been fixed
11/19/2021 – ZDI requested an update
01/11/2022 – ZDI requested the advisory link
02/14/2022 – ZDI notified ICS-CERT of the intention to publish the cases as 0-day advisories on 02/21/22


DISCLOSURE TIMELINE
  • 2021-06-04 - Vulnerability reported to vendor
  • 2022-02-22 - Coordinated public release of advisory
  • 2022-03-23 - Advisory Updated
CREDIT xina1i
BACK TO ADVISORIES