WordPressプラグイン「Fastcache by Host.it」にコードインジェクションの脆弱性(CVE-2026-104021)
概要
WordPressプラグイン「Fastcache by Host.it」にコードインジェクションの脆弱性が確認されました。
バージョン 1.7.4 以前に影響があります。
修正版 1.7.5 への更新が推奨されます。
脆弱性の基本情報
| 脆弱性ID |
CVE-2026-104021 WF-d72d7a21-0bea-4a32-b92b-326f47998b80 |
|---|---|
| 脆弱性の種類 | コードインジェクション |
| 危険度 | 高 |
| CVSSスコア |
7.2(CVSS v3.1) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| 公開日 | 2026年10月9日 |
| 更新日 | 2026年10月10日 |
影響を受ける製品
| 製品 | 影響を受けるバージョン | 修正版 | 出典 |
|---|---|---|---|
| WordPressプラグイン「Fastcache by Host.it」 |
1.7.4 以前 | 1.7.5 | Wordfence Intelligence |
推奨対応
- WordPressプラグイン「Fastcache by Host.it」を修正版 1.7.5 またはそれ以降の公式最新版へ更新してください。
情報元の原文
Wordfence Intelligence
Fastcache by Host.it <= 1.7.4 - Authenticated (Administrator+) Code Injection via .htaccess Directive Injection via 'cache_cookie_exclude' Setting
The Fastcache by Host.it plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 1.7.4 via the `fastcache_settings[cache_cookie_exclude][]` parameter. This is due to the plugin registering the `cache_cookie_exclude` setting via `register_setting()` without a `sanitize_callback`, while `buildSiteHtaccessRules()` applies only `trim()` to each cookie value before interpolating it directly into an Apache `RewriteCond` line — a normalization that strips surrounding whitespace but leaves embedded newlines intact, allowing an attacker to break out of the capture group and append arbitrary directives. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary Apache directives into the site's `.htaccess` file via `file_put_contents()`, enabling server-level configuration changes such as setting `php_value auto_prepend_file` to execute attacker-controlled PHP code on every request.
Copyright 2012-2026 Defiant Inc.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.