CVE-2026-33482
AVideo has an OS Command Injection via $() Shell Substitution Bypass in sanitizeFFmpegCommand()
En resumen
La función de sanitización de comandos de AVideo no bloquea la sintaxis de sustitución de comandos `$()`, permitiendo que atacantes ejecuten comandos del sistema operativo arbitrarios en el servidor codificador de vídeo a través de cargas criptografadas manipuladas.
Detalle técnico
La función `sanitizeFFmpegCommand()` en AVideo ≤26.0 elimina metacaracteres de shell comunes pero no filtra la sintaxis de sustitución bash `$()`; cuando el comando sanitizado se ejecuta mediante `sh -c` en un contexto entre comillas dobles, un atacante puede inyectar comandos arbitrarios a través de una carga criptografada válida, eludiendo las protecciones contra inyección de comandos (CWE-78).
Resumen generado y traducido por IA a partir de la descripción oficial.
WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `sanitizeFFmpegCommand()` function in `plugin/API/standAlone/functions.php` is designed to prevent OS command injection in ffmpeg commands by stripping dangerous shell metacharacters (`&&`, `;`, `|`, `` ` ``, `<`, `>`). However, it fails to strip `$()` (bash command substitution syntax). Since the sanitized command is executed inside a double-quoted `sh -c` context in `execAsync()`, an attacker who can craft a valid encrypted payload can achieve arbitrary command execution on the standalone encoder server. Commit 25c8ab90269e3a01fb4cf205b40a373487f022e1 contains a patch.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
WWBN · AVideo¿Quieres saber si tu infraestructura está expuesta a esto?
Hablar con TrueHacking →