🇰🇷 한글 설명
WordPress의 Complianz GDPR/CCPA Cookie Consent Banner 플러그인 7.5.5 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 미흡으로 인해, 공격자가 승인된 댓글 내에 악성 스크립트를 삽입하여 방문자의 브라우저에서 실행될 수 있습니다. 특히 이 취약점은 WordPress의 기본 보안 필터를 우회하여 플러그인 자체의 필터링 과정에서 공격 코드가 활성화되는 특징이 있습니다.
💡 쉬운 설명
웹사이트 댓글창에 몰래 악성 코드를 심어두면, 다른 사용자가 해당 댓글을 볼 때 자동으로 해킹 프로그램이 실행될 수 있는 문제입니다. 공격자는 이를 통해 사용자의 정보를 훔치거나 웹사이트를 변조할 수 있습니다.
🇺🇸 원문 (English)
The Complianz GDPR/CCPA Cookie Consent Banner plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via yotu-wp Cookie-Blocker Filter in all versions up to, and including, 7.5.5 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 exploit bypasses WordPress's wp_kses comment sanitization because the payload uses only allow-listed tags and hides executable tokens inside quoted attribute values as plain text; the XSS is only realized when Complianz's own output-buffer filter performs str_replace() rewrites that break out of the attribute context, and requires the comment to be approved before it executes for visitors.
📍 영향받는 시스템
Complianz GDPR/CCPA Cookie Consent Banner plugin for WordPress (버전 7.5.5 및 그 이하 모든 버전)
⚔️ 공격 벡터
승인된 댓글 내에 특수하게 조작된 속성 값을 삽입하여 플러그인의 출력 필터를 우회하는 방식
🛡️ 대응 방법
플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 7.5.5 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --name complianz | grep -E 'complianz' | awk '{print $2}'