Skip to content
RCE Write-up Beginner

Netgear R7000 – Command Injection

The Netgear R7000 router allows an unauthenticated user to inject shell commands through a crafted URL path. An attacker could execute arbitrary commands on the device, such as starting a telnet service.

exploit-db.com

Published on exploit-db.com

The original lives on exploit-db.com

We do not hold its text, 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 unauthenticated attacker could run arbitrary commands on the router, potentially taking full control of the device.

What the attacker needed

Network access to the router's web interface; no authentication required

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.

This router has a web interface that runs commands on the device. Because it does not check what is in the URL properly, someone can add extra commands after a semicolon and the router will run them. That means an attacker on the network can take control of the router without logging in.

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.