Skip to content
RCE Advisory Intermediate CVE-2022-33312CVE-2022-33313CVE-2022-33314

Robustel R1510 web_server action endpoints OS command injection vulnerabilities

Multiple OS command injection vulnerabilities exist in the web_server action endpoints of Robustel R1510 3.3.0. An attacker can send a specially crafted network request to execute arbitrary commands.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

Multiple command injection vulnerabilities exist in the webserver action endpoints functionalities of Robustel R1510 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

Root cause

User-supplied parameters are passed unsanitised to a function that formats a shell command and executes it via system().

Impact

An attacker could execute arbitrary commands on the device, potentially leading to full compromise.

What the attacker needed

Authentication with high privileges (PR:H)

How it was found

  1. Send a request to /action/import_cert_file/ with a path parameter that does not exist as a directory.
  2. The path value is used in a sysprintf call to create the directory, allowing command injection.
  3. Similarly, send a request to /action/import_https_cert_file/ with a path parameter.
  4. The path is formatted into a string and used in a sysprintf call to move files, allowing command injection.
  5. Send a request to /action/import_sdk_file/ with a path parameter that does not exist as a directory.
  6. The path value is used in a sysprintf call to create the directory, allowing command injection.

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.

The router's web interface takes user input (like a file path) and passes it directly to a system command without checking for malicious characters. This lets an attacker run their own commands on the device, potentially taking full control.

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.