🇰🇷 한글 설명
WordPress용 Better Messages 플러그인 2.15.33 이하 버전에서 발생하는 정보 노출 취약점입니다. 공격자가 HTTP 헤더의 X-Real-IP를 조작하여 내부 AI 봇으로 위장함으로써, 권한이 필요한 채팅방에 참여하거나 메시지 내역을 탈취할 수 있습니다.
💡 쉬운 설명
해커가 가짜 신분증을 만들어 시스템이 관리자용 AI 로봇으로 착각하게 만드는 보안 결함입니다. 이를 통해 허가되지 않은 채팅방에 몰래 들어가 대화 내용을 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to Information Exposure by Spoofing in all versions up to, and including, 2.15.33. This is due to the `is_ai_bot_user()` function identifying privileged internal AI bot accounts by performing a prefix check for `'ai-chat-bot-'` against a guest record's stored IP address, which is populated verbatim from the client-controlled `X-Real-IP` request header during unauthenticated guest registration. This makes it possible for unauthenticated attackers to register a guest identity that the plugin treats as its own internal AI bot, bypassing the per-room role allowlist, draft-status check, and join filters — which are all short-circuited by the bot check in `user_can_join()` and `user_can_read()` — to join administrator-restricted chat rooms, post messages into them, and read the private message history of other users.
📍 영향받는 시스템
Better Messages WordPress Plugin (버전 2.15.33 및 그 이하 모든 버전)
⚔️ 공격 벡터
X-Real-IP 요청 헤더를 조작하여 'ai-chat-bot-' 접두사를 포함한 IP 주소를 전송함으로써 인증되지 않은 상태로 AI 봇 권한 획득
🛡️ 대응 방법
플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 목록에서 Better Messages의 버전을 확인하여 2.15.33 이하인지 점검합니다.
wp plugin list --status=active | grep -i 'better-messages'