Submit #1064173: W3C Premium Packages – Sell Digital Products Securely 7.3.0 Missing Authorizationinfo

TitelW3C Premium Packages – Sell Digital Products Securely 7.3.0 Missing Authorization
Beschreibung**Title: Unauthenticated Order Status Modification via PayPal Subscription Activation Endpoint in WPDM Premium Packages 7.3.0** **Vulnerability Summary** A potential missing-authorization vulnerability was identified in the WPDM Premium Packages WordPress plugin, version 7.3.0, within the PayPal subscription activation REST API. The endpoint `/wp-json/wpdmpp/v1/checkout/paypal/activate-subscription` is registered in `src/Api/Endpoints/CheckoutEndpoint.php` with `permission_callback` set to `__return_true`, allowing unauthenticated requests. According to source-code analysis, the activation handler retrieves the target order using the client-supplied `order_id` without explicitly verifying whether the requester owns or is authorized to modify that order. Following subscription verification, the handler invokes `updateOrder()` and `completeOrder()`. If the subscription validation can be satisfied independently of the target order, an unauthenticated attacker may be able to modify another customer's order and mark an unpaid purchase as completed. **Affected Product** Vendor: W3 Eden, Inc. Product: Premium Packages – Sell Digital Products Securely Plugin slug: wpdm-premium-packages Affected version tested: 7.3.0 **Root Cause** The identified authorization weakness concerns the following operations in `CheckoutEndpoint.php`: - Lines 147–148: Public registration of the subscription activation endpoint. - Lines 958–964: Order lookup and existence validation without an explicit requester-to-order ownership check. - Line 982: Updating the order's transaction identifier. - Line 985: Completing the order through `completeOrder()`. The security concern is that the client supplies the target order identifier while the handler does not explicitly enforce order ownership before modifying that order. **Local Proof of Concept** A local WordPress test environment was configured with PHP 8.3.33, MariaDB, WordPress Download Manager, and WPDM Premium Packages 7.3.0. A pending order belonging to a different user (UID 2) was created for controlled testing. An unauthenticated POST request was submitted to the subscription activation endpoint with the following JSON body: `{"subscription_id":"I-NCCLAB-STUB-0001","order_id":"NCCLAB-PENDING-002"}` The local test returned HTTP 200 with the message: `Subscription activated successfully!` The database records showed the following state transition: Before: `NCCLAB-PENDING-002 | Pending | Pending | NULL` After: `NCCLAB-PENDING-002 | Completed | Completed | I-NCCLAB-STUB-0001` The affected fields were `order_status`, `payment_status`, and `trans_id`. This demonstrates an unauthorized order-state transition under the recorded local test conditions. Production exploitability depends on the behavior and trust guarantees of the subscription verification routine and requires confirmation with the unmodified release. **Security Impact** If exploitable in a standard deployment, this issue could allow unauthorized order completion, transaction identifier manipulation, payment-record integrity violations, and access to paid digital products without the corresponding confirmed payment. **Suggested Classification** CWE-862: Missing Authorization CWE-863: Incorrect Authorization **Suggested Remediation** 1. Enforce authorization checks binding the requested order to an authenticated user or a cryptographically validated order-specific token. 2. Verify subscription ownership, payment status, amount, and the relationship between the subscription and the target order against trusted payment-provider records. 3. Prevent client-controlled subscription identifiers from independently authorizing order completion. 4. Restrict order-completion operations to properly verified payment events or other explicitly authorized server-side workflows. 5. Implement rate limiting and additional protection against order identifier enumeration. **Discovery Date:** 2026-10-21 **Reference:** https://wordpress.org/plugins/wpdm-premium-packages/
Quelle⚠️ https://github.com/QiLiLab/wpdm-premium-packages-unauthenticated-subscription-activation
Benutzer
 Huaike (UID 102614)
Einreichung29.10.2026 10:58 (vor 1 Monat)
Moderieren04.12.2026 00:46 (1 month later)
StatusAkzeptiert
VulDB Eintrag449501 [W3 Eden Premium Packages Plugin bis 7.3.0 auf WordPress Checkout REST API CheckoutEndpoint.php order_id erweiterte Rechte]
Punkte20

Do you need the next level of professionalism?

Upgrade your account now!