(Pwn2Own) Lexmark MC3224i Unprotected API Remote Code Execution Vulnerability
The Lexmark MC3224i printer has an unprotected API endpoint that handles URLs without proper restriction, allowing an unauthenticated remote attacker to bypass authentication and execute code as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to remove authentication on affected installations of Lexmark MC3224i printers. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the API endpoint that processes URLs fails to validate or restrict the supplied URL, enabling an authentication bypass that leads to command execution.
Impact
An unauthenticated remote attacker could execute arbitrary code with root privileges on the printer.
What the attacker needed
Network access to the printer
The fix
The vulnerability was fixed by the vendor in an update.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A printer runs a small web service that lets people manage it. A part of that service accepts a web address (URL) but does not check it properly, so an attacker can trick the printer into running harmful commands. Because the attacker does not need to log in, anyone who can reach the printer over the network could take full control of it.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.