GHSA-2vg4-rrx4-qcpq
AVideo: Unauthenticated FFmpeg Remote Server Status Disclosure via check.ffmpeg.json.php
Details
## Summary
The `plugin/API/check.ffmpeg.json.php` endpoint probes the FFmpeg remote server configuration and returns connectivity status without any authentication. All sibling FFmpeg management endpoints (`kill.ffmpeg.json.php`, `list.ffmpeg.json.php`, `ffmpeg.php`) require `User::isAdmin()`.
## Details
The entire file at `plugin/API/check.ffmpeg.json.php`:
```php <?php $configFile = __DIR__.'/../../videos/configuration.php'; require_once $configFile; header('Content-Type: application/json');
$obj = testFFMPEGRemote();
die(json_encode($obj)); ```
No `User::isAdmin()`, `User::isLogged()`, or any access control check exists.
Compare with sibling endpoints in the same directory: - `kill.ffmpeg.json.php` checks `User::isAdmin()` - `list.ffmpeg.json.php` checks `User::isAdmin()`
## Proof of Concept
```bash curl "https://your-avideo-instance.com/plugin/API/check.ffmpeg.json.php" ```
Returns information about whether the platform uses a standalone FFmpeg server and its current reachability.
## Impact
Infrastructure reconnaissance revealing the encoding architecture. Limited direct impact but aids targeted attack planning.
## Recommended Fix
Add an admin authentication check at `plugin/API/check.ffmpeg.json.php:3`, after `require_once $configFile;`:
```php if (!User::isAdmin()) { forbiddenPage('Admin only'); } ```
--- *Found by [aisafe.io](https://aisafe.io)*
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for wwbn/avideo (composer). Pin to a known-safe version or switch to an alternative.
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"]}'