Skip to content
RCE Advisory Advanced CVE-2023-50738

Lexmark CX331adwe Firmware Downgrade Remote Code Execution Vulnerability

The printer's firmware upgrade service on TCP port 9100 did not properly validate firmware images before installing them. A network-adjacent attacker could use this, together with other flaws, to run code as root on the device.

Foundry Zero Follow

Originally disclosed on Zero Day Initiative

Medium 6.3 View original

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.

Foundry Zero, on the Zero Day Initiative

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 firmware update service accepted and applied an image without verifying its authenticity or integrity.

Impact

An attacker on the same network could execute arbitrary code as root, though the text says this requires combining the flaw with other vulnerabilities.

What the attacker needed

Network-adjacent access to the printer; no authentication needed; other vulnerabilities chained for code execution

The fix

The vendor issued an update that corrects the vulnerability.

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 accepts new firmware (the software built into the device) over the network so it can be updated. Here it did not check that the file really came from the manufacturer before installing it. Someone on the same network could therefore push a tampered file and, combined with other weaknesses, take control of the printer.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.