Skip to content
CVE-2026-63304 Elastic Security · Elastic

Detect AVideo FFmpeg Process Listing OS Command Injection (CVE-2026-63304) in Elastic Security

Detects exploitation of CVE-2026-63304, an OS command injection vulnerability in WWBN AVideo prior to v29.1.0. The AVideo API endpoint that lists running FFmpeg processes (listFFMPEGProcesses) passes an attacker-controlled keyword into a shell command without proper escaping, allowing an authenticated or anonymous attacker (depending on configuration) to inject arbitrary OS commands via shell metacharacters. This detection surfaces suspicious web requests to the AVideo FFmpeg process-listing endpoint carrying shell metacharacters, and correlates them with anomalous child processes spawned by the PHP/web server process.

Based on VulnCheck Advisory: AVideo OS Command Injection via listFFMPEGProcesses

MITRE ATT&CK

Tactic
Initial Access Execution

Elastic Detection Query

Elastic Security (Elastic)
eql
// df00tech DF00-8a80a39e0f · https://df00tech.com/detections/CVE-2026-63304 · licence: https://df00tech.com/detections/licence
sequence by host.name with maxspan=1m
  [ network where url.path : "*listFFMPEGProcesses*" and
      (url.query : "*;*" or url.query : "*|*" or url.query : "*`*" or url.query : "*$(*" or url.query : "*%3B*" or url.query : "*%7C*") ]
  [ process where event.type == "start" and
      process.parent.name in ("php", "php-fpm", "httpd", "apache2", "nginx", "w3wp.exe") and
      process.name in ("sh", "bash", "cmd.exe", "powershell.exe", "whoami", "id", "curl", "wget", "nc") ]
critical severity high confidence

Correlates a suspicious web request to the AVideo endpoint with an anomalous shell/command child process spawned from the web server.

Data Sources

Network LogsProcess EventsEndpoint Logs

Required Tables

logs-network.*logs-endpoint.events.process-*

False Positives & Tuning

  • Legitimate FFmpeg management spawning shell helpers
  • Monitoring agents launching diagnostic commands under the web server
  • Security tooling simulating exploitation

Other platforms for CVE-2026-63304


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Simulate AVideo FFmpeg command injection request

    Expected signal: Web server access log entry for listFFMPEGProcesses containing a semicolon and 'id'.

  2. Test 2 Simulate web-server-spawned shell (post-exploitation)

    Expected signal: Process creation event showing www-data (web server user) spawning bash/id/whoami.

  3. Test 3 Simulate outbound fetch from web server context

    Expected signal: Process event showing www-data executing curl with an outbound URL and file write to /tmp.


Response Playbook

Triage

  1. Confirm the AVideo version of the targeted host; versions < 29.1.0 are vulnerable to CVE-2026-63304.
  2. Inspect the raw web request to the listFFMPEGProcesses endpoint and decode the keyword/query parameter to identify the injected shell command.
  3. Determine whether the request was authenticated and from where (internal, VPN, or untrusted source IP).
  4. Review web server process ancestry for any child shell/command processes spawned within seconds of the suspicious request.

Containment

  1. Block the attacker source IP at the WAF/firewall and rate-limit or disable the listFFMPEGProcesses endpoint until patched.
  2. Isolate the affected AVideo host from the network if post-exploitation command execution is confirmed.
  3. Rotate any credentials, API tokens, or secrets accessible from the web server context.

Evidence Collection

  1. Preserve web server access and error logs covering the request window.
  2. Capture process creation telemetry (EDR) for the web server and any spawned child processes.
  3. Snapshot the host filesystem and memory if interactive command execution or webshell drop is suspected.

Escalation Criteria

  • !Escalate to incident response if a child process (shell, curl, wget, nc) was spawned by the web server following the request.
  • !Escalate if evidence of outbound C2, data staging, or additional webshell files is found on the host.

Investigation Guide

Forensic Artifacts

  • >Web server access logs containing requests to listFFMPEGProcesses with shell metacharacters
  • >EDR process-creation records showing web server spawning shell/command binaries
  • >Newly created or modified files in the AVideo web root (potential webshells)

Tuning Guidance

Baseline legitimate child processes of your AVideo web server before enabling the process-correlation rules; some deployments legitimately shell out to ffmpeg wrapper scripts. Tune the web-request rule to your known scanner IP ranges and consider restricting metacharacter matching to the decoded keyword parameter to reduce encoded-URL false positives.


Hunting Queries

Hunts for shell/command processes spawned by web server processes, indicating successful command injection.

Hunting — KQL
kql
// df00tech DF00-8a80a39e0f · https://df00tech.com/detections/CVE-2026-63304 · licence: https://df00tech.com/detections/licence
DeviceProcessEvents | where InitiatingProcessFileName in~ ("php","php-fpm","httpd","apache2","nginx","w3wp.exe") | where FileName in~ ("sh","bash","cmd.exe","powershell.exe","whoami","id","curl","wget","nc") | project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine
Hunting — SPL
spl
``` df00tech DF00-8a80a39e0f · https://df00tech.com/detections/CVE-2026-63304 · licence: https://df00tech.com/detections/licence ```
index=edr sourcetype=*process* (parent_process_name IN ("php","php-fpm","httpd","apache2","nginx","w3wp.exe")) (process_name IN ("sh","bash","cmd.exe","powershell.exe","whoami","id","curl","wget","nc")) | table _time, host, parent_process_name, process_name, process

Atomic Red Team Tests

Test 1 Simulate AVideo FFmpeg command injection request
linux

Sends a crafted HTTP request to the listFFMPEGProcesses endpoint with a shell metacharacter payload to trigger the web-request detection.

Command

bash
curl -s -G 'http://localhost/plugin/API/get.json.php' --data-urlencode 'APIName=listFFMPEGProcesses' --data-urlencode 'keyword=ffmpeg;id'

Cleanup

bash
echo 'no cleanup required'

Expected Telemetry

Web server access log entry for listFFMPEGProcesses containing a semicolon and 'id'.

Expected Detection

KQL/SPL web-request rule fires on the shell metacharacter in the request.

Test 2 Simulate web-server-spawned shell (post-exploitation)
linux

Simulates a web server process spawning a shell command as would occur after successful injection.

Command

bash
sudo -u www-data bash -c 'id; whoami'

Cleanup

bash
echo 'no cleanup required'

Expected Telemetry

Process creation event showing www-data (web server user) spawning bash/id/whoami.

Expected Detection

Elastic EQL / CrowdStrike CQL process-correlation rule fires on web server child process.

Test 3 Simulate outbound fetch from web server context
linux

Simulates an attacker using the injection to pull a second-stage payload via curl/wget from the web server user.

Command

bash
sudo -u www-data curl -s http://127.0.0.1/ -o /tmp/avideo_test_payload

Cleanup

bash
rm -f /tmp/avideo_test_payload

Expected Telemetry

Process event showing www-data executing curl with an outbound URL and file write to /tmp.

Expected Detection

Process-correlation rule flags curl spawned by the web server process.

Related Detections