Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-wprj-9cvc-5w37

AVideo: Unauthenticated Access to Payment Log DataTables Endpoints Exposes Transaction Data, PayPal Tokens, and User Financial Records
Back to all
CVE

GHSA-wprj-9cvc-5w37

AVideo: Unauthenticated Access to Payment Log DataTables Endpoints Exposes Transaction Data, PayPal Tokens, and User Financial Records

Summary

Multiple payment plugin list.json.php endpoints lack authentication and authorization checks, allowing unauthenticated attackers to retrieve all payment transaction records including PayPal billing agreement IDs, Express Checkout tokens, Authorize.Net webhook payloads with transaction details, and Bitcoin payment records. This is the same class of vulnerability fixed in the Scheduler plugin (GHSA-j724-5c6c-68g5 / commit 83390ab1f) but the fix was not applied to the remaining 21 affected endpoints.

Details

The AVideo ObjectYPT admin CRUD pattern generates four endpoints per database table: add.json.phpdelete.json.phplist.json.php, and an index.php page. In the payment plugins, add.json.php and delete.json.php correctly check User::isAdmin() before proceeding, but the list.json.php endpoints have no authorization check whatsoever.

PayPalYPT_log list endpoint (plugin/PayPalYPT/View/PayPalYPT_log/list.json.php:1-10):

<?php
require_once '../../../../videos/configuration.php';
require_once $global['systemRootPath'] . 'plugin/PayPalYPT/Objects/PayPalYPT_log.php';
header('Content-Type: application/json');
$rows = PayPalYPT_log::getAll();
$total = PayPalYPT_log::getTotal();
?>
{"data": <?php echo json_encode($rows); ?>, ...}

No User::isAdmin() check. The getAll() method (inherited from ObjectYPT) executes SELECT * FROM PayPalYPT_log returning all records.

Contrast with the sibling add endpoint (plugin/PayPalYPT/View/PayPalYPT_log/add.json.php:13-16):

if (!User::isAdmin()) {
    $obj->msg = "You can't do this";
    die(json_encode($obj));
}

The configuration.php bootstrap file performs no global authentication gating — it initializes the application framework but does not enforce auth. No .htaccess rules restrict access to plugin View directories.

Data model (plugin/PayPalYPT/Objects/PayPalYPT_log.php): Each record contains agreement_idusers_idjson (full PayPal API response), recurringpaymentidvalue (payment amount), and token (PayPal Express Checkout token).

The identical pattern exists in:

  • plugin/AuthorizeNet/View/Anetwebhooklog/list.json.php — full Authorize.Net webhook payloads
  • plugin/BTCPayments/View/Btc_payments/list.json.php — Bitcoin transaction identifiers and amounts

This was the exact same vulnerability class patched in commit 83390ab1f for the Scheduler plugin (GHSA-j724-5c6c-68g5), but the fix was only applied to the 3 Scheduler endpoints. A total of 21 list.json.php endpoints across the codebase remain unprotected.

PoC

Step 1 — Dump PayPal transaction logs (unauthenticated):

curl -s 'https://target.com/plugin/PayPalYPT/View/PayPalYPT_log/list.json.php'

Returns all PayPal transaction records including agreement IDs, tokens, payment amounts, user IDs, and full PayPal API JSON responses.

Step 2 — Dump Authorize.Net webhook logs (unauthenticated):

curl -s 'https://target.com/plugin/AuthorizeNet/View/Anet_webhook_log/list.json.php'

Returns all Authorize.Net webhook payloads including transaction IDs, event types, and payment details.

Step 3 — Dump Bitcoin payment records (unauthenticated):

curl -s 'https://target.com/plugin/BTCPayments/View/Btc_payments/list.json.php'

Returns all Bitcoin transaction identifiers, BTC amounts, and store identifiers.

Step 4 — Confirm sibling endpoints ARE protected:

curl -s -X POST 'https://target.com/plugin/PayPalYPT/View/PayPalYPT_log/add.json.php'
## Returns: {"error":true,"msg":"You can't do this"}

Impact

  • Financial data exposure: Unauthenticated attackers can retrieve all payment transaction records across PayPal, Authorize.Net, and Bitcoin payment providers.
  • Token leakage: PayPal Express Checkout tokens and billing agreement IDs are exposed, potentially enabling payment manipulation or account correlation.
  • PII leakage: Transaction records contain user ID mappings, payment amounts, and full API responses that may include payer email addresses and names.
  • Broad scope: 21 total list.json.php endpoints lack auth, also exposing live streaming server infrastructure (Live_servers), user connection data, meeting participation logs, and AI transcription responses.
  • Zero interaction required: No authentication, no user interaction — a single GET request dumps the entire table.

Recommended Fix

Add User::isAdmin() checks to all unprotected list.json.php endpoints, matching the pattern used in the Scheduler fix (commit 83390ab1f). For each affected file, add immediately after the require_once and header() lines:

if (!User::isAdmin()) {
    $obj = new stdClass();
    $obj->error = true;
    $obj->msg = "You can't do this";
    die(json_encode($obj));
}

The full list of files requiring this fix:

  1. plugin/PayPalYPT/View/PayPalYPT_log/list.json.php
  2. plugin/AuthorizeNet/View/Anetwebhooklog/list.json.php
  3. plugin/BTCPayments/View/Btc_payments/list.json.php
  4. plugin/AI/View/Ai_responses/list.json.php
  5. plugin/AI/View/Aimetatagsresponses/list.json.php
  6. plugin/AI/View/Aitranscriberesponses/list.json.php
  7. plugin/Live/view/Live_servers/list.json.php
  8. plugin/Live/view/Live_schedule/list.json.php
  9. plugin/Live/view/Liverestreamslogs/list.json.php
  10. plugin/SocialMediaPublisher/View/Publisher_schedule/list.json.php
  11. plugin/SocialMediaPublisher/View/Publishersocialmedias/list.json.php
  12. plugin/Meet/View/Meetjoinlog/list.json.php
  13. plugin/Meet/View/Meetschedulehasusersgroups/list.json.php
  14. plugin/PlayLists/View/Playlists_schedules/list.json.php
  15. plugin/UserConnections/View/Users_connections/list.json.php
  16. plugin/UserNotifications/View/User_notifications/list.json.php
  17. plugin/VideosStatistics/View/Statistics/list.json.php
  18. plugin/VideoTags/View/Tags_subscriptions/list.json.php
  19. plugin/CustomizeUser/View/Categorieshasusers_groups/list.json.php
  20. plugin/CustomizeUser/View/Usersextrainfo/list.json.php
  21. plugin/ImageGallery/list.json.php

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
C
H
U
-

Related Resources

No items found.

References

https://github.com/WWBN/AVideo/security/advisories/GHSA-wprj-9cvc-5w37, https://github.com/WWBN/AVideo/commit/1729a955f8de7e26552eb728b3d1e6f4b1b9352e, https://github.com/WWBN/AVideo, https://github.com/advisories/GHSA-j724-5c6c-68g5

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
0
Fix Available

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading