Advisory Details

May 17th, 2023

(Pwn2Own) Lexmark MC3224i lbtraceapp _WriteTarFile Command Injection Privilege Escalation Vulnerability

ZDI-23-667
ZDI-CAN-19766

CVE ID CVE-2023-26067
CVSS SCORE 7.8, AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Lexmark
AFFECTED PRODUCTS MC3224i
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of Lexmark MC3224i printers. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the _WriteTarFile method. 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 escalate privileges and execute arbitrary code in the context of root.

ADDITIONAL DETAILS Lexmark has issued an update to correct this vulnerability. More details can be found at:
https://publications.lexmark.com/publications/security-alerts/CVE-2023-26067.pdf
DISCLOSURE TIMELINE
  • 2022-12-28 - Vulnerability reported to vendor
  • 2023-05-17 - Coordinated public release of advisory
CREDIT pixelindigo
BACK TO ADVISORIES