Servers and applications
GHSA-whh2-8p2q-5598
CSRF on encoder endpoints via session-auth fallback in useVideoHashOrLogin()
- Severity
- Medium
- Published
- 26 Nov 2026
- Last changed
- 26 Nov 2026
- Added to UpHeron
- 26 Nov 2026
- Sources
- Project advisories (GitHub)
Description
Five encoder endpoints are explicitly exempted from CSRF protection in the autoCSRFGuard bypass list (objects/functionsSecurity.php:1181-1185):
- objects/aVideoEncoder.json.php
- objects/aVideoEncoderLog.json.php
- objects/aVideoEncoderNotifyIsDone.json.php
- objects/aVideoEncoderReceiveImage.json.php
- objects/aVideoQueueEncoder.json.php
The intent is that these endpoints authenticate via video_id_hash tokens, not browser sessions. However, useVideoHashOrLogin() (objects/functions.php:7750) falls through to User::loginFromRequest() when no hash is provided. If the user already has an active PHP session cookie, the session is used. The endpoints also set $global['bypassSameDomainCheck'] = 1, further disabling origin validation.
- Victim is logged into AVideo with upload permission, visits attacker-controlled page.
- Attacker submits a cross-origin form POST (no CORS preflight for application/x-www-form-urlencoded).
- Browser sends session cookie automatically.
Affected software
| Software | Affected versions |
|---|---|
AVideoServers and applications · github:wwbn/avideo |
|
About AVideo
Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
- GitHub stars
- 2,115GitHub, 29 Nov 2026
- Forks
- 1,013GitHub, 29 Nov 2026
- Latest release
- v29.9.0GitHub, 29 Nov 2026
- Released
- 23 Nov 2026GitHub
- First published on GitHub
- 2 Apr 2017GitHub
Vulnerabilities in AVideo
- In our list
- 263
- Published in the last 12 months
- 210
- Critical, last 12 months
- 23
- High, last 12 months
- 73
- Known exploited
- 0
- GHSA-rfxc-w8qf-4w7f`videoAddNew.json.php` accepts any `users_id_company`, so any uploader can publish videos under another creator's name and on their channel without an affiliation (sibling of GHSA-695j-7p82-jvh2)Medium 4.3 28 Nov 2026
- GHSA-695j-7p82-jvh2AVideo CustomizeUser affiliation consent bypass allows unauthorized video attributionMedium 4.3 27 Nov 2026
- CVE-2026-137956AVideo from 29.1.0 before 29.8.0 CSRF via YPTWallet saveConfiguration.phpMedium 5.3 27 Nov 2026
- GHSA-ggfr-w8qv-5cq3Incomplete remediation of GHSA-qxvm-r42f-5p8j: direct session assignment still returns an administrator sessionHigh 8.1 25 Nov 2026
- GHSA-42x7-8gfw-6347isSSRFSafeURL() does not block CGNAT (100.64.0.0/10), Azure WireServer (168.63.129.16), or IANA reserved/test-net ranges — unauthenticated SSRF via plugin/LiveLinks/proxy.phpHigh 7.5 25 Nov 2026
- GHSA-923j-cj44-f9g8MonetizeUsers earnings reports exposed to unauthenticated visitorsMedium 5.3 24 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-whh2-8p2q-5598
- github.com https://github.com/WWBN/AVideo/security/advisories/GHSA-whh2-8p2q-5598