PAYCOMET for WooCommerce 5.45 以下 - 認証不要の任意の注文メタ変更、カード削除、および「Order」パラメータの署名回避による返金に対する認可欠如
元情報の公開:2026-12-01 20:41:54 / 更新:2026-12-02 09:28:32(UTC)
日本語訳
WordPress 用の PAYCOMET WooCommerce プラグインは、バージョン 5.45 まで(5.45 を含む)に認可欠如の脆弱性があります。check_paytpv_resquest() ハンドラは、公開 WooCommerce API フック woocommerce_api_woocommerce_paytpv(/?wc-api=woocommerce_paytpv)に対して、権限チェックも nonce チェックも行わずに登録されています。TransactionType=1/109 の分岐において、NotificationHash の署名検証は `if (!str_contains($_REQUEST["Order"], '_tokenization'))` で包まれているため、Order パラメータに「_tokenization」を付加すると署名検証が完全にスキップされます。ハンドラはその後、攻撃者が制御可能な IdUser と TokenUser の値を取得し、対象カードに紐付くすべてのサブスクリプション注文の PayTPV_IdUser および Paytpv_TokenUser メタに書き込み、対象の paytpv_customer 行を削除して新たに挿入し、さらに PayComet の返金 API 呼び出しを実行します。
これにより、認証不要の攻撃者が任意のサブスクリプション注文の支払トークンメタを変更し、保存されたカードレコードを削除し、攻撃者が選択したカードレコードを挿入し、返金 API 呼び出しをトリガーできるようになります。
原文(英語)
PAYCOMET for WooCommerce <= 5.45 - Missing Authorization to Unauthenticated Arbitrary Order Meta Modification, Card Deletion, and Refund via 'Order' Parameter Signature Bypass
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.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。