W3 Total Cache に脆弱性 — CVE-2026-119071
いま何をすべきか
W3 Total Cache を 2.11.1 以降に更新してください。
影響を受けるバージョン
- 2.11.0 以下のすべて
対象: プラグイン「W3 Total Cache」(w3-total-cache)
何が起きるのか
The W3 Total Cache plugin for WordPress is vulnerable to unauthorized File Deletion in all versions up to, and including, 2.11.0 via the `ajax_revert()` AJAX handler. The vulnerability exists because the `remove_optimizations()` function reads attacker-controlled values from the unprotected `w3tc_imageservice` post meta key — which carries no underscore prefix and no registered authorization callback, making it writable by any user with `edit_post` capability via WordPress's built-in custom-fields AJAX endpoint — and passes those values directly to `wp_delete_attachment()` with no check that the referenced ID is a child of the caller's own post, is an actual attachment, or that the caller holds `delete_post` capability on it. This makes it possible for authenticated attackers with Author-level access or above to permanently delete any WordPress attachment in the media library, including media files owned by other users along with their associated files on disk, regardless of ownership — a capability not available through the normal WordPress interface. The revert nonce is exposed via `wp_localize_script` on `/wp-admin/upload.php` to any user with `upload_files` capability, ensuring the nonce check that is present does not serve as a meaningful barrier to Author-level exploitation.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
W3 Total Cache を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://github.com/BoldGrid/w3-total-cache/tree/2.11.1
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Extension_ImageService_Plugin_Admin.php#L1727
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Extension_ImageService_Plugin_Admin.php#L1734
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Extension_ImageService_Plugin_Admin.php#L2113
- https://www.wordfence.com/threat-intel/vulnerabilities/id/abf0adac-e8d7-4438-b9d5-aa3f83e17a29?source=cve