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.
Originally disclosed on Cisco Talos
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.
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
- Log in as an admin user to access the firmware upgrade API.
- Craft a firmware upgrade file with a malicious file description field.
- Upload the file through the API to trigger the sysupgrade binary.
- The binary parses the file and reaches the vulnerable code path.
- 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.