The PAYCOMET WooCommerce plugin for WordPress is vulnerable to Missing Authorization in versions...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| paytpvPAYCOMET for WooCommerce |
≤ 5.45→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The PAYCOMET WooCommerce plugin for WordPress is vulnerable to Missing Authorization in versions up to, and including, 5.45. The check_paytpv_resquest() handler is registered on the public WooCommerce API hook woocommerce_api_woocommerce_paytpv (/?wc-api=woocommerce_paytpv) with no capability check and no nonce check, and in the TransactionType=1/109 branch the NotificationHash signature verification is wrapped inside if (!str_contains($_REQUEST["Order"], '_tokenization')) so appending '_tokenization' to the Order parameter skips signature verification entirely. The handler then takes attacker-controlled IdUser and TokenUser values and writes them into the PayTPV_IdUser and Paytpv_TokenUser meta of every subscription order tied to the targeted card, deletes the targeted paytpv_customer row and inserts a new one, and issues a PayComet refund API call. This makes it possible for unauthenticated attackers to modify arbitrary subscription order payment-token meta, delete stored card records, insert attacker-chosen card records, and trigger refund API calls.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web nvd.nist.gov
- web github.com