Advisory Details

March 23rd, 2022

(Pwn2Own) HP LaserJet Pro MFP M283fdw LLMNR Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-22-532
ZDI-CAN-15831

CVE ID CVE-2022-3942
CVSS SCORE 8.8, AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS HP
AFFECTED PRODUCTS LaserJet Pro MFP M283fdw
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of HP LaserJet Pro MFP M283fdw printers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the implementation of the LLMNR 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 HP has issued an update to correct this vulnerability. More details can be found at:
https://support.hp.com/us-en/document/ish_5948778-5949142-16/hpsbpi03780
DISCLOSURE TIMELINE
  • 2022-01-21 - Vulnerability reported to vendor
  • 2022-03-23 - Coordinated public release of advisory
CREDIT Angelboy (@scwuaptx) from DEVCORE Research Team
BACK TO ADVISORIES