{"id":"CVE-2026-61569","kind":"vulnerability","aliases":["CVE-2026-61569"],"related":[],"title":"AVideo: unauthenticated SQL injection in streamer login reads database","description":"AVideo is a video-sharing Platform. Prior to 8.1.0, the unauthenticated streamer login at `objects/login.json.php` passes the `user` parameter to `Streamer::get` in `objects/Streamer.php`, where it is interpolated into a single-quoted MariaDB SELECT without parameterization or escaping. Although `objects/security.php` strips literal single quotes, `html_entity_decode` in `objects/Login.php` restores entity-encoded quotes before the query. The supplied `siteURL` must pass the streamer allowlist, which allows all sites when empty by default, and an attacker-hosted login response must set `canUpload` or `isAdmin` to reach `Streamer::createIfNotExists`. That function calls `Streamer::get` before its additional allowlist check. UNION results are exposed through `streamers_id`, while failures return the rendered query and MariaDB error. An attacker can read arbitrary encoder database data, including stored upstream streamer credentials, allowlist configuration, and queue records, without encoder credentials. Stacked statements are not permitted by the mysqli driver and the tested database account lacks global FILE privilege, so the demonstrated vector is bounded to reads rather than server-side file writes. Stolen streamer credentials can provide continued upstream access until rotated. This issue is fixed in version 8.1.0.","summary":"AVideo prior to 8.1.0 has an unauthenticated SQL injection in the streamer login endpoint objects/login.json.php, where the user parameter reaches a MariaDB query unparameterized. An attacker can read arbitrary encoder database data, including stored upstream streamer credentials and allowlist configuration, without any encoder account.","severity":"high","cvss":7.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["avideo","mariadb","package","php","self-hosted"],"not_affected_if":["endpoint-not-reachable","version-8.1.0-or-later"],"how_to_check":"- Check the installed AVideo version; affected if below `8.1.0`.\n- Confirm whether `objects/login.json.php` is reachable from the internet on the instance.\n- Check whether the streamer allowlist (siteURL) is empty, since the sources say the default allows all sites.","fix":"- Upgrade AVideo to `8.1.0` or later.\n- Rotate upstream streamer credentials stored in the encoder database, since they may have been read before the upgrade.","status":"open","published_at":"2026-10-28T22:17:16+00:00","first_seen_at":"2026-10-28T22:35:35+00:00","triaged_at":"2026-10-28T22:36:46+00:00","updated_at":"2026-10-28T22:36:46+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-28T22:36:46Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade AVideo to `8.1.0` or later.\n- Rotate upstream streamer credentials stored in the encoder database, since they may have been read before the upgrade.","reach":"internet","title":"AVideo: unauthenticated SQL injection in streamer login reads database","impact":"medium","summary":"AVideo prior to 8.1.0 has an unauthenticated SQL injection in the streamer login endpoint objects/login.json.php, where the user parameter reaches a MariaDB query unparameterized. An attacker can read arbitrary encoder database data, including stored upstream streamer credentials and allowlist configuration, without any encoder account.","category":"package","nicknames":[],"who_cares":["avideo","self-hosted","php","mariadb"],"confidence":0.8,"needs_auth":"no","worst_case":"Attacker reads encoder database, including stored streamer credentials.","analyst_note":"","how_to_check":"- Check the installed AVideo version; affected if below `8.1.0`.\n- Confirm whether `objects/login.json.php` is reachable from the internet on the instance.\n- Check whether the streamer allowlist (siteURL) is empty, since the sources say the default allows all sites.","needs_analyst":false,"not_affected_if":["version-8.1.0-or-later","endpoint-not-reachable"],"who_is_affected":"AVideo sites running a version before 8.1.0 that expose the streamer login endpoint to the internet. The sources say the default streamer allowlist allows all sites when empty, which widens exposure on default configurations. Instances already on 8.1.0 or later are not affected.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000662,"input_tokens":3646,"output_tokens":595,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':11A,14A '-61569':12A,15A '8.1.0':26B,76C,254C 'access':245C 'account':66B,218C 'addit':165C 'allow':135C 'allowlist':61B,133C,166C,197C 'although':107C 'arbitrari':51B,188C 'attack':48B,145C,185C 'attacker-host':144C 'avideo':1A,16B,23B,67C 'bound':228C 'call':160C 'canupload':151C 'check':167C 'configur':62B,198C 'continu':243C 'createifnotexist':157C 'credenti':59B,196C,204C,240C 'cve':10A,13A 'data':54B,191C 'databas':9A,53B,190C,217C 'decod':115C 'default':141C 'demonstr':225C 'driver':213C 'empti':139C 'encod':52B,65B,121C,189C,203C 'endpoint':36B 'entiti':114C,120C 'entity-encod':119C 'error':183C 'escap':106C 'expos':171C 'failur':176C 'file':221C,236C 'fix':251C 'function':159C 'get':89C,162C 'global':220C 'host':22B,146C 'html':113C 'id':174C 'includ':55B,192C 'inject':4A,31B 'interpol':95C 'isadmin':153C 'issu':249C 'lack':219C 'liter':110C 'login':7A,35B,80C,147C 'mariadb':17B,44B,101C,182C 'must':129C,149C 'mysqli':212C 'objects/login.json.php':37B,82C 'objects/login.php':117C 'objects/security.php':108C 'objects/streamer.php':91C 'packag':18B 'paramet':41B,86C 'parameter':104C 'pass':83C,130C 'permit':209C 'php':19B 'platform':73C 'prior':24B,74C 'privileg':222C 'provid':242C 'queri':45B,125C,180C 'queue':200C 'quot':100C,112C,122C 'rather':231C 'reach':42B,155C 'read':8A,50B,187C,230C 'record':201C 'render':179C 'respons':148C 'restor':118C 'result':169C 'return':177C 'rotat':247C 'select':102C 'self':21B 'self-host':20B 'server':234C 'server-sid':233C 'set':150C 'share':72C 'side':235C 'singl':99C,111C 'single-quot':98C 'site':137C 'siteurl':128C 'sql':3A,30B 'stack':205C 'statement':206C 'stolen':238C 'store':56B,193C 'streamer':6A,34B,58B,79C,88C,132C,156C,161C,173C,195C,239C 'strip':109C 'suppli':127C 'test':216C 'unauthent':2A,29B,78C 'union':168C 'unparameter':46B 'upstream':57B,194C,244C 'user':40B,85C 'vector':226C 'version':253C 'video':71C 'video-shar':70C 'without':63B,103C,202C 'write':237C","nicknames":[],"mitigations":[],"who_affected":"AVideo sites running a version before 8.1.0 that expose the streamer login endpoint to the internet. The sources say the default streamer allowlist allows all sites when empty, which widens exposure on default configurations. Instances already on 8.1.0 or later are not affected.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-28T22:17:16+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-61569","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61569","severity":null,"published_at":"2026-10-28T22:17:16+00:00","modified_at":"2026-10-28T22:17:16+00:00","first_seen_at":"2026-10-28T22:35:35+00:00","fetched_at":"2026-10-28T22:35:35+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}