Skip to content
RCE Advisory Intermediate CVE-2022-32765

Robustel R1510 sysupgrade command injection OS command injection vulnerability

A command injection vulnerability exists in the sysupgrade functionality of Robustel R1510 routers. An attacker with admin privileges can craft a malicious firmware upgrade file whose file description field is used unsanitised in a shell command, leading to arbitrary command execution.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

An OS command injection vulnerability exists in the sysupgrade command injection functionality of Robustel R1510 3.1.16 and 3.3.0. A specially-crafted network request can lead to arbitrary command execution.

Francesco Benvenuto, on Cisco Talos

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

Impact

An attacker with admin privileges could execute arbitrary commands on the router, potentially compromising the device and its network.

What the attacker needed

Admin access to the router

How it was found

  1. Log in as an admin user to access the firmware upgrade API.
  2. Craft a firmware upgrade file with a malicious file description field.
  3. Upload the file through the API to trigger the sysupgrade binary.
  4. The binary parses the file and reaches the vulnerable code path.
  5. The file description is used to build a shell command, which is executed.

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.

This router lets an admin upload a firmware file to update it. The router takes a text field from that file (the description) and pastes it directly into a system command without checking it. An attacker who can log in as admin can put special characters in that field to run their own commands on the router.

What is RCE?

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

More by Francesco Benvenuto

View all

152 more disclosed reports, best first.

More from Cisco Talos

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.