修正版未確認を含むPubjet | پاب‌جت

Pubjet | پاب‌جت 5.4.8以下 - 'check-token' AJAXアクションに関する認証済み(購読者以上)の権限昇格

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

日本語訳

WordPress用プラグイン「Pubjet | پاب‌جت」の5.4.8以下のすべてのバージョンには、権限昇格の脆弱性があります。原因は、wp_ajax_pubjet-check-tokenとして登録されたcheckToken() AJAXハンドラーが、権限確認もnonce検証も行わず、リモートでの検証より前に、攻撃者指定のtoken GETパラメーターをpubjet_update_setting()でサイト全体のpubjet_settingsオプションへ無条件に直接書き込むことです。

これにより、購読者以上の権限を持つ認証済みの攻撃者は、プラグインに保存されたREST API認証情報を自分が選んだ値で上書きし、実効的な権限を即座に認可済みのPubjet APIクライアントと同じ水準へ昇格できます。その結果、本来制限されるcreateReportage、updateReportage、deleteReportage、toggleCopyright、createBacklinkエンドポイントを呼び出し、任意のreportage投稿の作成・変更・削除や、通常は購読者がアクセスできないプラグインの状態の操作が可能になります。この権限昇格は自己強化されます。RestApi::isTokenValid()は、受信したAuthorizationヘッダーとpubjet_token()が返す値の比較だけで認証し、pubjet_token()は保護されていないハンドラーが書き込むものと同じオプションを読むため、攻撃者が配置したトークンは、その後のすべてのリクエストで正当なものとして信頼されます。

原文(英語)

Pubjet | پاب‌جت <= 5.4.8 - Authenticated (Subscriber+) Privilege Escalation to 'check-token' AJAX Action

The Pubjet | پاب‌جت plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 5.4.8. This is due to the `checkToken()` AJAX handler — registered under `wp_ajax_pubjet-check-token` — performing no capability check and no nonce verification before unconditionally writing the attacker-supplied `token` GET parameter directly into the site-wide `pubjet_settings` option via `pubjet_update_setting()`, prior to any remote validation. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the plugin's stored REST API credential with an attacker-chosen value, immediately elevating their effective privileges to those of an authorized Pubjet API client and enabling them to invoke otherwise-restricted endpoints — `createReportage`, `updateReportage`, `deleteReportage`, `toggleCopyright`, and `createBacklink` — to create, modify, and delete arbitrary reportage posts and manipulate plugin state that Subscribers cannot normally access. The privilege escalation is self-reinforcing: because `RestApi::isTokenValid()` authenticates solely by comparing the incoming `Authorization` header against the value returned by `pubjet_token()`, which reads from the same option the unprotected handler writes to, the attacker-planted token is trusted as legitimate on all subsequent requests.

引用元:Wordfence

確認と対応の進め方

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

修正版が未確認の製品は、まず提供元の最新情報を確認してください。記事の取得時点より後に修正版が公開されている場合があります。

プラグインの代替を探す場合は、必要な機能と既存データの移行方法を確認してください。削除前にバックアップを確保し、代替製品の動作を検証してください。

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

運営元KanriPressのサービス案内

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

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

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