🇰🇷 한글 설명
WordPress용 WPLP Cookie Consent 플러그인 4.4.1 이하 버전에서 'wpl_user_preference' 매개변수를 통한 저장형 XSS 취약점이 발견되었습니다. 인증되지 않은 공격자가 AJAX 엔드포인트를 악용하여 악성 스크립트를 삽입할 수 있으며, 사용자가 해당 페이지에 접속할 때 스크립트가 실행됩니다.
💡 쉬운 설명
웹사이트의 쿠키 동의 플러그인에 보안 구멍이 있어, 해커가 몰래 악성 코드를 심어둘 수 있습니다. 이 코드가 심어진 페이지를 방문하는 일반 사용자는 해커의 의도대로 조종당하거나 정보를 탈취당할 수 있습니다.
🇺🇸 원문 (English)
The Cookie Banner for GDPR / CCPA – WPLP Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpl_user_preference' parameter in all versions up to, and including, 4.4.1 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 consent-logging AJAX endpoint is registered for unauthenticated users and its required nonce (wpl_consent_logging_nonce) is publicly emitted via wp_localize_script on the frontend, meaning any unauthenticated site visitor can plant a payload without any prior authentication or privileged access.
📍 영향받는 시스템
WPLP Cookie Consent plugin for WordPress (version 4.4.1 and below)
⚔️ 공격 벡터
인증되지 않은 공격자가 공개된 AJAX 엔드포인트의 'wpl_user_preference' 매개변수에 악성 스크립트를 주입
🛡️ 대응 방법
WPLP Cookie Consent 플러그인을 최신 버전으로 업데이트하거나 해당 취약점이 해결된 패치를 적용하십시오.
🔧 검증 코드
플러그인이 설치되어 있다면 워드프레스 관리자 페이지의 플러그인 목록에서 현재 설치된 버전을 확인하십시오.
wp plugin list --status=active | grep -i 'wplp-cookie-consent' && echo 'Check version manually via WordPress Dashboard'