WordPressプラグイン「BP Profile Search」にファイルインクルージョンの脆弱性(CVE-2026-104995)
概要
WordPressプラグイン「BP Profile Search」にファイルインクルージョンの脆弱性が確認されました。
バージョン 5.9 以前に影響があります。
修正版 6.0 への更新が推奨されます。
脆弱性の基本情報
| 脆弱性ID |
CVE-2026-104995 WF-a35419ff-a342-4480-9288-e98dee5afabc |
|---|---|
| 脆弱性の種類 | ファイルインクルージョン |
| 危険度 | 高 |
| CVSSスコア |
8.1(CVSS v3.1) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 公開日 | 2026年10月13日 |
| 更新日 | 2026年10月14日 |
影響を受ける製品
| 製品 | 影響を受けるバージョン | 修正版 | 出典 |
|---|---|---|---|
| WordPressプラグイン「BP Profile Search」 |
5.9 以前 | 6.0 | Wordfence Intelligence |
推奨対応
- WordPressプラグイン「BP Profile Search」を修正版 6.0 またはそれ以降の公式最新版へ更新してください。
情報元の原文
Wordfence Intelligence
BP Profile Search <= 5.9 - Unauthenticated Local File Inclusion to Remote Code Execution via 'bps_directory' Cookie 'ajax_template' Value
The BP Profile Search plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 5.9 via the 'ajax_template' value parsed from the client-controlled 'bps_directory' cookie during BuddyPress AJAX directory requests. The bps_directory_ajax() filter (hooked onto bp_legacy_object_template_path and bp_nouveau_object_template_path) reads the cookie, applies only a referer-derived 'page' comparison in bps_get_directory_data() (where bps_current_page() uses HTTP_REFERER during AJAX and is therefore also attacker-controlled), and then suffixes the attacker-controlled template value with '.php' and passes it to bp_locate_template() with no basename restriction, no whitelist, and no path-traversal check. This makes it possible for unauthenticated attackers to include arbitrary PHP files on the server, which can lead to remote code execution when PHP files can be uploaded or when images such as the default wordpress:php8.
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.