Advisory Details

March 18th, 2022

(Pwn2Own) Canon imageCLASS MF644Cdw SLP Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-22-515
ZDI-CAN-15845

CVE ID CVE-2022-24673
CVSS SCORE 8.8, AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Canon
AFFECTED PRODUCTS imageCLASS MF644Cdw
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Canon imageCLASS MF644Cdw printers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the implementation of the SLP protocol. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS Canon has issued an update to correct this vulnerability. More details can be found at:
https://www.usa.canon.com/support/canon-product-advisories/canon-laser-printer-inkjet-printer-and-small-office-multifunctional-printer-measure-against-buffer-overflow
DISCLOSURE TIMELINE
  • 2022-01-21 - Vulnerability reported to vendor
  • 2022-03-18 - Coordinated public release of advisory
CREDIT Angelboy (@scwuaptx) from DEVCORE Research Team
BACK TO ADVISORIES