Skip to content
Access control Write-up Intermediate

From Serial to Shell: Unpatchable Flaw in Brother Printers [CVE�

A critical authentication bypass in hundreds of Brother printer models allowed an attacker to derive the default admin password from the device's serial number. An unauthenticated attacker could gain full administrative access and potentially pivot to internal resources.

itsShotgun Follow

Published on itsshotgun.medium.com

In June 2025, security researchers at Rapid7 disclosed CVE‑2024‑51978: a critical authentication bypass vulnerability that affects hundreds of Brother printer models.

itsShotgun, on itsshotgun.medium.com

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

The default admin password was generated deterministically from the device serial number using a static salt and hash algorithm during manufacturing, making it predictable.

Impact

An attacker could gain full administrative control of affected printers and potentially pivot to internal resources, especially in flat office networks; the flaw cannot be patched on existing hardware.

What the attacker needed

Network access to printer; no authentication needed

The fix

The only fix for existing devices is to change the default admin password immediately; printers manufactured after March 2025 use a revised process with randomized passwords.

How it was found

  1. Obtain the printer's serial number via HTTP, PJL, or SNMP without authentication.
  2. Reconstruct the default admin password using the reverse-engineered algorithm.
  3. Use the derived password to log in as administrator.

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.

Many printers come with a default administrator password. This report found that for many Brother printers, that password is not random but is calculated from the printer's serial number, which anyone on the network can read. So an attacker who can reach the printer can work out the password and log in as admin.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.