🇰🇷 한글 설명
WordPress용 Wp Social Login and Register Social Counter 플러그인 3.2.1 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 인증된 공격자가 사용자 메타 데이터를 조작하여 아바타 Alt 속성에 악성 스크립트를 삽입할 수 있으며, 사용자가 해당 페이지에 접속할 때 스크립트가 실행됩니다.
💡 쉬운 설명
로그인 플러그인의 보안 허점을 이용해 악성 코드를 웹사이트에 몰래 심어두는 공격입니다. 이 코드가 심어진 페이지를 방문하는 다른 사용자는 해커의 의도대로 스크립트가 실행될 위험이 있습니다.
🇺🇸 원문 (English)
The Wp Social Login and Register Social Counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Avatar Alt Attribute via Arbitrary User Meta Write in all versions up to, and including, 3.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the attacker to chain two steps: invoking the nonce-only dismiss_ajax_call endpoint (nonce accessible to Subscribers via any wp-admin page) to set the xs_social_profile_image meta flag on their own account, which activates the unescaped img output branch in xs_social_get_avatar, and then setting their display name to a script payload that core's ENT_NOQUOTES handling preserves unescaped.
📍 영향받는 시스템
Wp Social Login and Register Social Counter plugin version 3.2.1 and below
⚔️ 공격 벡터
인증된 사용자가 특정 API 엔드포인트를 통해 메타 데이터를 조작하고 표시 이름을 스크립트 페이로드로 설정하여 공격
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나 입력값 검증 및 출력 이스케이프 처리가 적용된 패치를 적용하십시오.
🔧 검증 코드
명령어 결과에 취약한 버전 범위(3.0.0 ~ 3.2.1)가 출력되면 해당 플러그인이 설치되어 있는 상태입니다.
wp plugin list --name wp-social-login-and-register-social-counter --format=csv | grep -E '3\[.0-2\[.1'