🇰🇷 한글 설명
WordPress의 Simple Ajax Chat 플러그인에서 입력값 검증 및 출력 이스케이프 미흡으로 인해 저장형 XSS 취약점이 발견되었습니다. 인증되지 않은 공격자가 악성 스크립트를 채팅 메시지에 삽입하여 저장할 수 있으며, 해당 페이지를 방문하는 모든 사용자의 브라우저에서 스크립트가 실행됩니다. 특히 메시지 제출을 보호하는 논스(nonce)가 공개되어 있어 인증 없이도 공격이 가능합니다.
💡 쉬운 설명
채팅창에 악성 코드를 담은 메시지를 남기면, 이 채팅을 보는 모든 사람의 컴퓨터에서 해킹 코드가 자동으로 실행되는 문제입니다. 로그인하지 않은 외부인도 누구나 이 공격을 수행할 수 있어 위험합니다.
🇺🇸 원문 (English)
The Simple Ajax Chat – Add a Fast, Secure Chat Box plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Chat Message in all versions up to, and including, <= 20260811 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The nonce protecting chat message submission is publicly visible on the chat page, rendering it ineffective as an authentication barrier and allowing fully unauthenticated attackers to submit malicious messages that are stored persistently and rendered to all visitors on every page load.
📍 영향받는 시스템
Simple Ajax Chat WordPress plugin (버전 20260811 이하 모든 버전)
⚔️ 공격 벡터
인증되지 않은 공격자가 채팅 메시지 입력란에 악성 스크립트를 삽입하여 서버에 저장
🛡️ 대응 방법
플러그인을 최신 보안 패치 버전으로 즉시 업데이트하거나, 입력값 검증 로직이 포함된 패치를 적용하십시오.
🔧 검증 코드
출력된 플러그인 버전이 20260811 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --allow-root | grep -E 'simple-ajax-chat'