Skip to content
RCE Write-up Advanced

Breaking Into a Brother (MFC-J1010DW): Three Security Flaws in a Seemingly Innocent Printer

The report describes three flaws in a Brother printer: an authentication bypass via SNMP that leaks the serial number used to derive the default admin password, an unauthenticated firmware rollback, and a buffer overflow in the Referer header that allows arbitrary code execution. Chained together, these let an attacker fully compromise the device remotely.

starlabs.sg

Published on starlabs.sg

We discovered three vulnerabilities that when chained together, allow for complete remote compromise:

The author, on starlabs.sg

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a combination of an information leak through SNMP, missing authentication on firmware updates, and unsafe handling of the Referer header in the web server.

Impact

An attacker could fully compromise the printer remotely, and the researchers demonstrated code execution by displaying a message on the screen.

What the attacker needed

Network access to the printer

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 write-up has not been written yet. The Original tab links to the source.

A printer connected to a network runs small services that answer requests. One of these, SNMP, gave out the printer's serial number without asking for a password, and that number is used to build the default admin password. Separately, the printer let anyone downgrade its firmware, and a crafted web request header could overflow a buffer and run attacker code.

What is RCE?

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

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.