(Pwn2Own) Lexmark CX331adwe basic_auth.cgi PATH_TRANSLATED Directory Traversal Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Lexmark CX331adwe printers. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the handling of the PATH_TRANSLATED parameter provided to the basic_auth.cgi endpoint. 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 the pagemaker user.
Additional Details
Fixed in CXLBL.230.408
Disclosure Timeline
- 2024-12-12 - Vulnerability reported to vendor
- 2025-04-09 - Coordinated public release of advisory
- 2025-04-09 - Advisory Updated
Credit
nella17 (@nella17tw), working with DEVCORE Internship Program, and DEVCORE Research Team