Saltar al contenido
DayZeroHub
Crítica Sin redactarCVSS 9.2GHSA-j44m-77cc-p3ccCVE-2026-63492CVE-2026-63304

CVE-2026-63304: AVideo API vulnerable to OS command injection through an unescaped FFmpeg process keyword

WWBN AVideo

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-63304: vulnerabilidad de severidad alta (CVSS 8.1) en wwbn/avideo.

Qué ocurre

Descripción original de la fuente (en inglés): ### 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 `$keyword = preg_replace('/[^a-zA-Z0-9_-]/', '', $codeToExec->keyword)`, but the two callers below never use it: ```php // list mode (line ~221) $list = listFFmpegProcesses($codeToExec->keyword); // isKeywordRunning mode (line ~341) $list = list…

Por qué importa

Severidad alta, CVSS 8.1.

Productos y versiones afectados

wwbn/avideo < 29.1.0 (corregido en 29.1.0)

ProductoVersionesCorregido en
wwbn/avideo< 29.1.029.1.0
WWBN AVideo< 29.1.0—

Acción recomendada por la fuente

Actualizar a una versión corregida: 29.1.0.

Corregido en: 29.1.0

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-78

Historial de cambios relevantes

  1. Cambio de severidad

    La severidad cambió de high a critical.

  2. Publicado

    Aviso preliminar publicado.