Skip to content
RCE Advisory Intermediate CVE-2022-32572

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.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Critical 9.9 View original

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.

Claudio Bozzato, 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 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

  1. Send a POST request to the aVideoEncoder endpoint with a downloadURL parameter.
  2. The application attempts to fetch the URL using file_get_contents, which fails for a malformed URL.
  3. The application falls back to wget, constructing a shell command with the unsanitised URL.
  4. 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.

More by Claudio Bozzato

View all

185 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.