🇰🇷 한글 설명
WordPress용 WP Statistics 플러그인 14.16.8 버전 이하에서 'utm_campaign' 파라미터를 통한 저장형 XSS 취약점이 발견되었습니다. 공격자는 공개된 REST API 엔드포인트를 악용하여 인증 없이 악성 스크립트를 데이터베이스에 삽입할 수 있으며, 사용자가 해당 페이지에 접속할 때 스크립트가 실행됩니다.
💡 쉬운 설명
웹사이트 통계 플러그인의 허점을 이용해 해커가 몰래 악성 코드를 심어두는 보안 문제입니다. 이 코드가 심어진 페이지에 방문자가 접속하면 해커가 의도한 동작이 자동으로 실행될 수 있습니다.
🇺🇸 원문 (English)
The WP Statistics – Simple, privacy-friendly Google Analytics alternative plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'utm_campaign' parameter in all versions up to, and including, 14.16.8 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 payload can be planted without authentication via the public /wp-statistics/v2/hit REST endpoint, because the required signature is exposed on the public homepage and a base64-encoded page_uri POST parameter overrides the previously sanitized REQUEST_URI, allowing the malicious utm_campaign value to bypass sanitization and be stored in the database.
📍 영향받는 시스템
WP Statistics plugin (WordPress) version 14.16.8 and below
⚔️ 공격 벡터
인증되지 않은 공격자가 공개된 /wp-statistics/v2/hit REST 엔드포인트에 base64 인코딩된 utm_campaign 값을 전송하여 스크립트 삽입
🛡️ 대응 방법
WP Statistics 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 wp-statistics의 버전이 14.16.8 이하인지 확인하십시오.
wp plugin list --allow-root | grep -E 'wp-statistics'