payever – WooCommerce Gateway 4.8.0以下 - リモートコード実行につながる認証不要の任意のファイルアップロード

元情報の公開:2026/11/06 23:23 / 元情報の更新:2026/11/07 11:29(日本時間)

日本語訳

WordPress用プラグイン「payever – WooCommerce Gateway」の4.8.0以下の複数のバージョンには、リモートコード実行につながる任意のファイルアップロードの脆弱性があります。3つのWooCommerce-APIコールバック(payever_set_sandbox_api_keys、payever_toggle_subscription、payever_synchronization_incoming)は、認証、権限確認、nonceのいずれもなしで登録されています。また、upload_image()処理は、ファイルタイプを検証する前に、攻撃者が制御するbasename()を使って、リモートから取得したファイルを公開のuploadsディレクトリへ書き込みます。これにより、認証されていない攻撃者は実行可能なPHPファイルを書き込み、リモートコード実行を達成できます。

一連の悪用のうちトークンを回収する段階は、プラグインからPayeverのサービスへのvalidateToken()呼び出しに依存します。一方、ハードコードされた認証情報による認証不要のID情報の上書き(CWE-862/CWE-798)は、独立して悪用できます。

原文(英語)

payever – WooCommerce Gateway <= 4.8.0 - Unauthenticated Arbitrary File Upload Leading to Remote Code Execution

The payever – WooCommerce Gateway plugin for WordPress is vulnerable to arbitrary file upload leading to remote code execution in various versions up to, and including, 4.8.0. Three WooCommerce-API callbacks (payever_set_sandbox_api_keys, payever_toggle_subscription, payever_synchronization_incoming) are registered with no authentication, capability check, or nonce, and the upload_image() routine writes a remotely fetched file to the public uploads directory using an attacker-controlled basename() BEFORE validating the file type. This makes it possible for unauthenticated attackers to write an executable PHP file and achieve remote code execution. NOTE: the token-recovery leg of the full chain depends on the plugin's outbound validateToken() call to Payever's service; the unauthenticated hard-coded-credential identity overwrite (CWE-862/CWE-798) is independently exploitable.

引用元:Wordfence

確認と対応の進め方

WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。

影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。

更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。

プラグインの管理・更新方法(WordPress公式・日本語)

運営元KanriPressのサービス案内

サイトを守る備えを、今日から始めませんか。

「KanriPress WP Sakimori」は、ファイアウォールと仮想パッチで攻撃に備え、マルウェア検査と継続監視でサイトの異変を捉えます。毎日のバックアップで万一に備え、月次レポートで保護・監視の状況も確認。日々の管理負担を抑えながらWordPressを守る仕組みを、月額2,200円(税込)で導入できます。

サービス内容・料金を見る