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.
Originally disclosed on Cisco Talos
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.
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
- Load the HTML page that calls the API to bypass CSRF protection.
- Send a POST request to /boafrm/formWsc with a crafted parameter containing a command.
- 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.