W3 Total Cacheに認証済みの投稿者権限でメディアを削除される脆弱性
Summary
W3 Total Cacheの2.11.0までの全バージョンには、投稿者(Author)以上の権限を持つ利用者が、ほかの利用者が投稿したものを含むメディアライブラリの添付ファイルを、関連ファイルとともに削除できる脆弱性があります。公表日は2026年11月27日で、公開時点で悪用は確認されていないとされています。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
W3 Total Cacheの2.11.0までの全バージョンには、投稿者(Author)以上の権限を持つ利用者が、ほかの利用者が投稿したものを含むメディアライブラリの添付ファイルを、関連ファイルとともに削除できる脆弱性があります。公表日は2026年11月27日で、公開時点で悪用は確認されていないとされています。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| boldgridW3 Total Cache |
≤ 2.11.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web nvd.nist.gov
- web github.com