Detect AVideo FFmpeg OS Command Injection via notifyCode/callback (CVE-2026-63305) in Splunk
Detects exploitation of CVE-2026-63305, an OS command injection vulnerability in WWBN AVideo prior to v29.1.0. The AVideo API endpoint (ffmpeg/json.php and related notification callback handling) passes attacker-controlled values from the notifyCode/callback parameters into an FFmpeg command line without sanitization, allowing injection of arbitrary shell metacharacters (CWE-78). Detection focuses on HTTP requests to AVideo API/plugin endpoints containing shell metacharacters in notifyCode or callback parameters, and on suspicious child processes (sh, bash, curl, wget, nc, id, whoami) spawned by the web server or FFmpeg process on AVideo hosts.
Based on VulnCheck Advisory: AVideo OS Command Injection via ffmpeg json.php
MITRE ATT&CK
- Tactic
- Initial Access Execution
SPL Detection Query
``` df00tech DF00-5f8a830f3f · https://df00tech.com/detections/CVE-2026-63305 · licence: https://df00tech.com/detections/licence ```
index=web (uri_path="*json.php*" OR uri_path="*/plugin/*" OR uri_path="*ffmpeg*")
| eval q=lower(uri_query)
| where (like(q,"%notifycode%") OR like(q,"%callback%"))
| regex uri_query="(?i)(;|\||&&|`|\$\(|%3b|%7c|%60)"
| table _time src_ip host uri_path uri_query http_user_agent status
| sort - _time Searches web access logs for AVideo requests where notifyCode/callback parameters carry shell metacharacters.
Data Sources
Required Sourcetypes
False Positives & Tuning
- Vulnerability scanners generating malformed query strings
- URL-encoded ampersands used legitimately as parameter delimiters
- Authorized red-team testing
Other platforms for CVE-2026-63305
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.
- Test 1 AVideo notifyCode command injection probe (semicolon)
Expected signal: Web access log entry for json.php with notifyCode containing a semicolon; EDR process-start of 'id' parented by ffmpeg/php-fpm if vulnerable.
- Test 2 AVideo callback injection with command substitution
Expected signal: Web log line with callback parameter containing $( ; possible whoami process spawned under web-server user.
- Test 3 Simulated FFmpeg-spawned recon shell
Expected signal: Process-start events showing parent 'ffmpeg' spawning id/whoami/curl.
References (6)
- https://github.com/WWBN/AVideo/security/advisories/GHSA-g9x9-q7qj-6mv5
- https://nvd.nist.gov/vuln/detail/CVE-2026-63305
- https://github.com/WWBN/AVideo/commit/56cd4e90983bbd8f800f42be29718f7ee2ca3a5a
- https://github.com/WWBN/AVideo/releases/tag/v29.1.0
- https://www.vulncheck.com/advisories/avideo-through-os-command-injection-via-ffmpeg-json-php
- https://github.com/advisories/GHSA-g9x9-q7qj-6mv5
Response Playbook
Triage
- Identify the AVideo version on the affected host; confirm it is < 29.1.0 and therefore vulnerable to CVE-2026-63305.
- Extract the full notifyCode/callback parameter value from the triggering request and decode URL encoding to reveal the injected command.
- Determine whether the request returned a 200 status and whether a corresponding suspicious child process (sh/bash/curl/wget/nc) was spawned by php-fpm, the web server, or ffmpeg around the same time.
- Review the source IP's prior request history for reconnaissance or repeated injection attempts.
Containment
- Block the attacking source IP at the WAF/firewall and rate-limit or disable the AVideo API/ffmpeg endpoint until patched.
- Isolate the affected AVideo host from the network if command execution is confirmed, preserving volatile state for forensics.
- Rotate any credentials, API keys, or secrets accessible from the web-server process context.
Evidence Collection
- Capture the full web server access/error logs and IIS logs covering the attack window, including raw query strings.
- Collect process-creation telemetry (EDR) showing the parent/child chain from php-fpm/ffmpeg to the injected command.
- Preserve the AVideo videos/cache and any files written to webroot or /tmp during the window, plus the running process list.
Escalation Criteria
- !Escalate to IR if a shell or recon command (id, whoami, curl, wget, nc) was confirmed to execute as the web-server user.
- !Escalate if evidence of persistence (webshell, cron job, new service) or lateral movement from the host is found.
- !Escalate to the application owner immediately so the AVideo instance can be upgraded to v29.1.0 or later.
Investigation Guide
Forensic Artifacts
- >
Web server access logs containing notifyCode/callback parameters with shell metacharacters - >
Process-creation records linking ffmpeg/php-fpm to sh/bash/curl/wget - >
Files or webshells written to the AVideo webroot or /tmp during the attack window
Tuning Guidance
Baseline legitimate callback URL formats used by your AVideo plugins and encoders, then exclude those exact parameter shapes. If FFmpeg legitimately spawns helper processes during transcoding, scope the process-chain detections to AVideo hosts and exclude known transcoding binaries. Raise severity when the HTTP request returns 200 and is followed within 60s by a shell/recon child process.
Hunting Queries
Surfaces source IPs repeatedly sending AVideo requests with metacharacter-laden notifyCode/callback parameters.
// df00tech DF00-5f8a830f3f · https://df00tech.com/detections/CVE-2026-63305 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriQuery has_any ("notifyCode", "callback") | where csUriQuery has_any (";","|","`","$(","%3B","%7C") | summarize count() by cIP, bin(TimeGenerated, 1h) ``` df00tech DF00-5f8a830f3f · https://df00tech.com/detections/CVE-2026-63305 · licence: https://df00tech.com/detections/licence ```
index=web (uri_query=*notifyCode* OR uri_query=*callback*) | regex uri_query="(?i)(;|\||`|\$\(|%3b|%7c)" | stats count by src_ip Atomic Red Team Tests
Sends a crafted request to the AVideo ffmpeg JSON endpoint with a semicolon-injected command in notifyCode to validate detection of the primary injection vector.
Command
curl -s -o /dev/null -w '%{http_code}' "http://avideo.lab.local/plugin/API/get.json.php?APIName=ffmpeg¬ifyCode=abc;id" Cleanup
echo 'no cleanup required (read-only probe)' Expected Telemetry
Web access log entry for json.php with notifyCode containing a semicolon; EDR process-start of 'id' parented by ffmpeg/php-fpm if vulnerable.
Expected Detection
KQL/SPL web-log rules fire on notifyCode plus semicolon metacharacter.
Tests detection of the $(...) command-substitution variant via the callback parameter.
Command
curl -s "http://avideo.lab.local/objects/ffmpeg.json.php?callback=x\$(whoami)" Cleanup
echo 'no cleanup required' Expected Telemetry
Web log line with callback parameter containing $( ; possible whoami process spawned under web-server user.
Expected Detection
Web-log metacharacter rules and the EQL/CQL process-chain correlation fire.
Simulates the post-exploitation child process by spawning a recon command from a parent named ffmpeg, validating endpoint process-chain detections.
Command
cp /usr/bin/bash /tmp/ffmpeg 2>/dev/null; /tmp/ffmpeg -c 'id; whoami; curl -s http://127.0.0.1/ >/dev/null' Cleanup
rm -f /tmp/ffmpeg Expected Telemetry
Process-start events showing parent 'ffmpeg' spawning id/whoami/curl.
Expected Detection
CrowdStrike CQL and Elastic EQL process-chain rules flag the ffmpeg-parented shell/recon processes.