Exploit database

Vulnerability

CVE-2026-29058

AVideo: Unauthenticated OS Command Injection via base64Url in objects/getImage.php

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

AVideo is a video-sharing Platform software. Prior to version 7.0, 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. This issue has been patched in version 7.0.

CVE Program

Exploit source choices

1 source
AVideo Encoder getImage.php Unauthenticated Command Injection
MSF-linux--http--avideo_encoder_getimage_cmd_injectionMetasploitLinux,Unix / remotePreferred

This module exploits an unauthenticated OS command injection vulnerability in AVideo Encoder's getImage.php endpoint (CVE-2026-29058). The base64Url GET parameter is base64-decoded and injected directly into an ffmpeg shell command within double quotes, without any sanitization or use of escapeshellarg(). PHP's FILTER_VALIDATE_URL check does not block shell metacharacters such as $() in the URL path, allowing command substitution. A crafted URL like http://x/$(cmd) passes FILTER_VALIDATE_URL and is interpolated into: ffmpeg -i "{$url}" ... resulting in arbitrary command execution as www-data. The Encoder code is served by the main AVideo Apache container (mounted at /Encoder), so exploitation gives access to the main application context including database credentials and configuration. Fixed in AVideo Encoder version 7.0 (commit 78178d1) which added escapeshellarg() and shell metacharacter stripping.

2026-03-05avideo_encoder_getimage_cmd_injection.rb