🇰🇷 한글 설명
WordPress용 The Like Button Rating ♥ LikeBtn 플러그인 2.6.64 이하 버전에는 HTTP_CLIENT_IP(Client-IP 헤더) 매개변수의 입력값 검증 및 출력 이스케이프 미흡으로 인한 저장형 XSS 취약점이 존재합니다. 관리자가 'Be GDPR compliant' 옵션을 비활성화한 경우 인증되지 않은 공격자가 임의의 스크립트를 주입할 수 있으며, 관리자의 작업이 있어야 공격이 성립합니다.
💡 쉬운 설명
이 플러그인은 방문자의 IP 정보를 처리하는데, 특정 설정이 꺼져 있으면 악성 코드가 웹페이지에 저장될 수 있습니다. 관리자가 해당 페이지를 열면 악성 코드가 실행되어 정보가 유출될 수 있습니다.
🇺🇸 원문 (English)
The Like Button Rating ♥ LikeBtn plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_CLIENT_IP (Client-IP header)' parameter in all versions up to, and including, 2.6.64 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. Successful exploitation requires the site administrator to have disabled the default 'Be GDPR compliant' option, which would otherwise hash stored IP values and neutralize the payload. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
📍 영향받는 시스템
The Like Button Rating ♥ LikeBtn WordPress 플러그인 2.6.64 이하 전 버전
⚔️ 공격 벡터
공격자가 Client-IP 헤더에 악성 스크립트를 담아 요청하면 저장되고, 관리자가 해당 페이지에 접근할 때 실행됨 (GDPR 옵션 비활성화 시)
🛡️ 대응 방법
플러그인을 2.6.65 이상의 패치된 버전으로 업데이트하고, 'Be GDPR compliant' 옵션을 활성화 상태로 유지
🔧 검증 코드
출력된 version 값이 2.6.64 이하이면 취약하므로 2.6.65 이상으로 업데이트가 필요하며, 결과가 비어 있으면 플러그인이 설치되지 않은 것입니다.
wp plugin list --name=like-button-rating --fields=name,version,status 2>/dev/null