VDB
Sign up
CRITICAL9.8

GHSA-9j26-99jh-v26q

WWBN AVideo is vulnerable to unauthenticated OS Command Injection via base64Url in objects/getImage.php

Quick fix

GHSA-9j26-99jh-v26q — wwbn/avideo: upgrade to the fixed version with the command below.

composer require wwbn/avideo:^7.0.0

Details

## Impact

An unauthenticated attacker can execute arbitrary OS commands on the server by injecting shell command substitution into the `base64Url` GET parameter. This can lead to full server compromise, data exfiltration (e.g., configuration secrets, internal keys, credentials), and service disruption.

## Root Cause

The `base64Url` parameter is Base64-decoded and then interpolated directly into a double-quoted `ffmpeg` shell command without proper shell escaping. The upstream validation uses `FILTER_VALIDATE_URL`, which validates URL syntax but does not prevent shell metacharacters / command substitution sequences from being interpreted by the shell.

## Affected Components

* `objects/getImage.php` * `objects/security.php` * Execution path via async command execution helper (`shell_exec`/`nohup`)

## Patches

Apply strict shell argument escaping (e.g., `escapeshellarg()`) to all user-supplied values before building any shell command, and avoid double-quoted interpolation of untrusted input. Prefer safer process execution patterns where possible.

## Workarounds

* Restrict access to `objects/getImage.php` at the web server / reverse proxy layer (IP allowlist, auth, or disable endpoint if not needed). * Apply WAF rules to block suspicious patterns and limit exposure until a patch is deployed.

## Resources

* Report: "Unauthenticated OS Command Injection in AVideo-Encoder"

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/wwbn/avideo
Introduced in: 0Fixed in: 7.0.0
Fixcomposer require wwbn/avideo:^7.0.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/wwbn/avideo"]}'