修正版ありToocheke Companion

Toocheke Companion 2.38以下 - series_post_idパラメータの認可欠如による認証済みの寄稿者以上による任意投稿削除

元情報の公開:2026/11/20 04:45 / 元情報の更新:2026/11/20 16:53(日本時間)

日本語訳

WordPress用プラグイン「Toocheke Companion」は、2.38以下のバージョンで、任意の投稿と添付ファイルの削除につながる認可欠如の脆弱性があります。toocheke_tapas_ajax_cleanup_start()およびtoocheke_tapas_ajax_cleanup_step() AJAXハンドラーに、オブジェクト単位の権限チェックがないことが原因です。toocheke_tapas_cleanup_ajax_guard()メソッドは、すべての寄稿者が持つ基本権限delete_postsを検証するだけで、攻撃者が指定したseries_post_idを強制削除が有効なwp_delete_post()とwp_delete_attachment()へ渡す前に、current_user_can('delete_post', $post_id)やdelete_others_postsを確認しません。

必要なnonceは、edit_postsだけでアクセスを制限するImport: Tapas管理画面へ出力されるため、寄稿者が読み取れます。寄稿者以上の権限を持つ認証済みの攻撃者が、インポーターで作成された任意のシリーズ投稿と、それに属するすべての子のcomic投稿、さらにそれらの投稿に属するすべてのメディアライブラリー添付ファイルを、誰が最初に作成したかにかかわらず完全に削除できます。

原文(英語)

Toocheke Companion <= 2.38 - Missing Authorization to Authenticated (Contributor+) Arbitrary Post Deletion via 'series_post_id' Parameter

The Toocheke Companion plugin for WordPress is vulnerable to Missing Authorization leading to arbitrary post and attachment deletion in versions up to, and including, 2.38. This is due to a missing object-level capability check in the toocheke_tapas_ajax_cleanup_start() and toocheke_tapas_ajax_cleanup_step() AJAX handlers; the toocheke_tapas_cleanup_ajax_guard() method only verifies the primitive delete_posts capability (held by every Contributor) and never calls current_user_can('delete_post', $post_id) or delete_others_posts before passing the attacker-supplied series_post_id to wp_delete_post() and wp_delete_attachment() with force-delete enabled. The required nonce is emitted on the Import: Tapas admin page, which is gated only by edit_posts, so a Contributor can read it. This makes it possible for authenticated attackers, with Contributor-level access and above, to permanently delete any importer-created series post, every child 'comic' post attached to it, and every Media Library attachment belonging to those posts — regardless of which user originally created them.

引用元:Wordfence

確認と対応の進め方

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

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

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

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

運営元KanriPressのサービス案内

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

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

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