Skip to content
RCE Write-up Intermediate

pwn910nd - abusing OpenWRT's printer server to become root

The printer server p910nd on OpenWRT-based routers allowed any authenticated user to change its configuration so that it could read and append to arbitrary files with root privileges. This led to information disclosure and remote code execution.

blog.nns.ee

Published on blog.nns.ee

I have discovered yet another vulnerability in Inteno's IOPSYS firmware - but I believe this to affect all OpenWRT or LEDE based routers that ship with the printer server p910nd. Any authenticated user can modify the configuration for the printer server in a way which allows them to read and append to any file as root.

The author, on blog.nns.ee

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

Impact

An authenticated attacker could disclose sensitive files and achieve remote code execution as root on affected routers.

What the attacker needed

Authenticated access to the router

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 router runs a small program that lets computers print over the network. That program was set up so that a logged-in user could change which file it uses for printing. By pointing it at important system files, the user could read secrets or add their own commands that the router then ran with full administrator rights.

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.