WWBN AVideo aVideoEncoder chunkfile OS command injection vulnerability
The aVideoEncoder chunkfile functionality in AVideo passes a user-supplied filename to a shell command without sanitisation, allowing an authenticated attacker to execute arbitrary OS commands. An attacker could run commands on the server and retrieve their output.
Originally disclosed on Cisco Talos
An OS command injection vulnerability exists in the aVideoEncoder chunkfile 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 by concatenating an attacker-controlled filename without escaping or validating it.
Impact
An authenticated attacker with upload permission could execute arbitrary OS commands on the server, potentially leading to full compromise.
What the attacker needed
Authenticated user with video upload permission
The fix
The vendor confirms the issue was fixed on July 7th 2022.
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.
When a web application runs a system command like 'unzip', it must not include user input directly in that command. Here, the filename came from the user and was inserted into the command, so an attacker could add extra shell instructions. This let them 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.