Skip to content
RCE Advisory Intermediate CVE-2023-50381CVE-2023-50383CVE-2023-50382

Realtek rtl819x Jungle SDK boa formWsc OS command injection vulnerabilities

Three OS command injection vulnerabilities exist in the boa formWsc functionality of Realtek rtl819x Jungle SDK v3.4.11. An attacker can send specially crafted HTTP requests to execute arbitrary commands on the device.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

High 7.2 View original

Three os command injection vulnerabilities exist in the boa formWsc functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted series of HTTP requests 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

The formWsc function in the boa web server fails to properly sanitise user-supplied parameters before using them in system() calls, allowing command injection.

Impact

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

What the attacker needed

Admin credentials (default admin:admin used); WPS enabled or disabled depending on CVE; network access to the device

The fix

Realtek has provided updates to their customers, but LevelOne has declined to patch the issues in their software.

How it was found

  1. Load the HTML page that calls the API to bypass CSRF protection.
  2. Send a POST request to /boafrm/formWsc with a crafted parameter containing a command.
  3. The router executes the injected command, causing a reboot in the proof of concept.

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 report describes three security flaws in the web interface of a router. The router takes user input from web requests and passes it directly to system commands without proper cleaning, so an attacker can trick the router into running their own commands. This could let them take full control of the device.

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.