WWBN AVideo aVideoEncoder wget OS command injection vulnerability
An OS command injection vulnerability exists in the aVideoEncoder wget functionality of AVideo. An attacker with upload permission can send a crafted HTTP request to execute arbitrary commands on the server.
Originally disclosed on Cisco Talos
An os command injection vulnerability exists in the aVideoEncoder wget functionality of WWBN AVideo 11.6 and dev master commit 3f7c0364. A specially-crafted HTTP 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
Root cause
The application builds a shell command using an unsanitised user-supplied URL and executes it with exec().
Impact
An attacker with upload permission could execute arbitrary commands on the server, potentially leading to full compromise.
What the attacker needed
User account with upload permission
The fix
The vulnerability was fixed by the vendor on July 7th 2022.
How it was found
- Send a POST request to the aVideoEncoder endpoint with a downloadURL parameter.
- The application attempts to fetch the URL using file_get_contents, which fails for a malformed URL.
- The application falls back to wget, constructing a shell command with the unsanitised URL.
- The command is executed, allowing arbitrary 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.
This report describes a command injection bug in a video-sharing web app. When a user provides a download URL, the app later passes that URL to a system command without cleaning it, so an attacker can add extra commands that the server will run. This lets the attacker run their own commands on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.