Checkout Field Editor for WooCommerce (Pro) 3.8.0以下 - thwcfe_remove_uploaded AJAXアクションの'attachment_id'パラメーターを介した、認可の欠如による認証不要の任意の添付ファイル削除
元情報の公開:2026/11/07 08:43 / 元情報の更新:2026/11/07 21:27(日本時間)
日本語訳
WordPress用プラグイン「Checkout Field Editor for WooCommerce (Pro)」の3.8.0以下のバージョンには、ajax_remove_uploaded()関数で権限と所有者の確認が欠けているため、任意の添付ファイルを不正に削除する脆弱性があります。このハンドラーはwp_ajaxとwp_ajax_noprivの両方に登録され、file_handling_nonceというnonceだけでアクセスが制限されています。このnonceは、購入手続きにFile Uploadフィールドが設定されている場合に、公開された購入手続きページのマークアップ内のdata-nonce属性へ出力されます。
これにより、認証されていない攻撃者は、細工したattachment_idを送信して、他の利用者や投稿に属するものを含む任意の添付ファイルを削除でき、重要なメディアの消失やサービス拒否につながるおそれがあります。
原文(英語)
Checkout Field Editor for WooCommerce (Pro) <= 3.8.0 - Missing Authorization to Unauthenticated Arbitrary Attachment Deletion via 'attachment_id' Parameter via thwcfe_remove_uploaded AJAX Action
The Checkout Field Editor for WooCommerce (Pro) plugin for WordPress is vulnerable to unauthorized deletion of arbitrary attachments due to a missing capability/ownership check in the ajax_remove_uploaded() function in versions up to, and including, 3.8.0. The handler is registered for both wp_ajax and wp_ajax_nopriv and is gated solely by the 'file_handling_nonce' nonce, which is emitted inside the public checkout page markup (data-nonce attribute) whenever a File Upload checkout field is configured. This makes it possible for unauthenticated attackers to delete arbitrary attachments (including those belonging to other users or posts) by submitting a crafted attachment_id, which can lead to loss of important media and potential denial of service.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。