AVideo: Missing Authorization in Playlist Schedule Creation Allows Cross-User Broadcast Hijacking
Date: 2026-03
Affected: composer/wwbn/avideo
Attack vector: auth-bypass
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-34245
CWE: CWE-862
CVSS: 6.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)

## Summary The `plugin/PlayLists/View/Playlists_schedules/add.json.php` endpoint allows any authenticated user with streaming permission to create or modify broadcast schedules targeting any playlist on the platform, regardless of ownership. When the schedule executes, the rebroadcast runs under the victim playlist owner's identity, allowing content hijacking and stream disruption. ## Details The endpoint at `plugin/PlayLists/View/Playlists_schedules/add.json.php` performs only a capability check, not an ownership check: ```php // add.json.php:14 — only checks if user CAN stream, not if they OWN the playlist if (!User::canStream()) { forbiddenPage(__("You cannot livestream")); } // Line 18-19: attacker-controlled playlists_id is used directly $o = new Playlists_schedules(@$_POST['id']); $o->setPlaylists_id($_POST['playlists_id']); ``` The `Playlists_schedules::save()` method (line 182) only validates that `playlists_id` is non-empty — no ownership check: ```php public function save() { if(empty($this->playlists_id)){ _error_log("Playlists_schedules::save playlists_id is empty"); return false; } // ... return parent::save(); } ``` When the schedule triggers via `plugin/PlayLists/run.php`, the rebroadcast executes under the **playlist owner's** user ID, not the schedule creator's: ```php // run.php:55 — uses playlist owner's ID $pl = new PlayList($ps->playlists_id); $response = Rebroadcaster::rebroadcastVideo( $ps->current_videos


Mitigations:

Architectural layers (MAESTRO):