🔍 CVE-2026-104995

8.1
CVSS Score
HIGH
2026-10-14
2026-10-14 19:17
✅ 완료

🇰🇷 한글 설명

WordPress의 BP Profile Search 플러그인 5.9 이하 버전에서 로컬 파일 포함(LFI) 취약점이 발견되었습니다. 공격자는 'bps_directory' 쿠키를 조작하여 서버 내의 임의 PHP 파일을 포함시킬 수 있으며, 이는 원격 코드 실행(RCE)으로 이어질 수 있습니다.

💡 쉬운 설명

해커가 조작된 쿠키를 보내 웹사이트 서버에 있는 민감한 파일을 강제로 읽게 만들 수 있는 결함입니다. 이를 통해 서버의 제어권을 완전히 탈취할 수도 있는 위험한 상태입니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

WordPress BP Profile Search plugin versions up to and including 5.9

⚔️ 공격 벡터

조작된 'bps_directory' 쿠키 값을 이용한 경로 탐색 및 로컬 파일 포함 공격

🛡️ 대응 방법

BP Profile Search 플러그인을 최신 보안 패치 버전으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 결과에서 bp-profile-search의 버전이 5.9 이하인지 확인하십시오.

Shell / Script
wp-cli plugin list --allow-root | grep -E 'bp-profile-search'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

PHP