🇰🇷 한글 설명
WordPress용 Anti-Spam by CleanTalk 플러그인 6.88 버전 이하에서 'comment' 파라미터를 통한 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 공격자가 악성 스크립트를 삽입할 경우 사용자가 해당 페이지에 접속할 때 스크립트가 실행될 수 있습니다.
💡 쉬운 설명
스팸 방지 플러그인의 허점을 이용해 댓글창에 악성 코드를 몰래 심는 공격입니다. 누군가 이 댓글을 읽게 되면 사용자의 브라우저에서 해킹 코드가 자동으로 실행될 수 있습니다.
🇺🇸 원문 (English)
The Anti-Spam by CleanTalk – Spam Protection Without CAPTCHA plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 6.88 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. This vulnerability is exploitable once a comment from the attacker's email address has been approved; on default WordPress installations, only the first comment from a given email address is held for moderation, meaning subsequent comments auto-approve and immediately expose the payload to site visitors.
📍 영향받는 시스템
Anti-Spam by CleanTalk – Spam Protection Without CAPTCHA plugin for WordPress (버전 6.88 및 그 이하 모든 버전)
⚔️ 공격 벡터
승인된 댓글의 'comment' 파라미터에 악성 스크립트를 삽입하여 저장하는 방식
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하고, 댓글 승인 정책을 강화하여 검증되지 않은 댓글의 자동 승인을 방지해야 합니다.
🔧 검증 코드
출력된 버전 번호가 6.88보다 높은지 확인하여 취약 여부를 판단합니다.
wp-cli plugin list --name=cleantalk-spam-protection --field=version