Loading0%
SUBZER0
LIVE
Alerts

CVE-2026-63492

AVideo API vulnerable to OS command injection through an unescaped FFmpeg process keyword

Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-11-24; check the references for anything newer.

  • Severity: High
  • CVSS 8.1
  • Public exploit
  • P2 · This week

Why P2: this week.

Description

### Summary The helper `listFFmpegProcesses($keyword)` in `plugin/API/standAlone/functions.php` builds a shell pipeline by interpolating `$keyword` inside single quotes and running it with `exec()`: ```php $command .= " | grep '$keyword'"; exec($command, $output, $status); ``` The two callers in `plugin/API/standAlone/ffmpeg.json.php` (the `list` mode and the `isKeywordRunning` mode) pass the RAW decrypted `codeToExec` field, not the sanitized `$keyword` variable that the endpoint allowlists elsewhere. Because the value is placed inside a single-quoted shell context with no escaping, a payload that closes the quote (for example `x'; touch /tmp/marker #`) breaks out and injects an arbitrary command that runs via `exec()`'s `/bin/sh -c`. An attacker who can craft a valid encrypted payload achieves OS command execution as the web-server user. ### Vulnerable code Sink — `plugin/API/standAlone/functions.php`, `listFFmpegProcesses()` (around lines 139-147): ```php function listFFmpegProcesses($keyword = '') { $command = "ps -eo pid,etime,%cpu,%mem,cmd | grep '[f]fmpeg'"; if (!empty($keyword)) { $command .= " | grep '$keyword'"; // $keyword interpolated inside single quotes, unescaped } exec($command, $output, $status); // runs via /bin/sh -c ``` Callers — `plugin/API/standAlone/ffmpeg.json.php` pass the RAW decrypted field, bypassing the allowlisting applied to the local `$keyword` variable. That local variable is built at line ~136 as `$ke…

Affected products

  • composer wwbn/avideo < 29.1.0; first patched: 29.1.0

References

Browse more

FFmpegComposer (PHP) packagesWeek 45, 2026 recap

Published 2026-11-03 · sources: GitHub Advisory Database