🇰🇷 한글 설명
WordPress용 'The Real Testimonials' 플러그인의 4.1.0 이하 모든 버전에는 'tpro_client_testimonial' 파라미터에 대한 입력값 검증 및 출력 이스케이프 미흡으로 인한 저장형 XSS 취약점이 존재합니다. 인증되지 않은 공격자가 추천글에 악성 스크립트를 삽입할 수 있으며, 관리자가 승인하고 WordPress Interactivity 런타임이 로드되는 페이지에 접근하면 스크립트가 실행됩니다.
💡 쉬운 설명
누구나 고객 후기 형태로 웹사이트에 악성 코드를 심을 수 있는 취약점입니다. 관리자가 이 후기를 승인해 페이지에 표시되면, 방문자의 브라우저에서 해당 코드가 실행될 수 있습니다.
🇺🇸 원문 (English)
The Real Testimonials – Testimonial Slider, Collect Customer Reviews and Video Testimonials plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'tpro_client_testimonial' parameter in all versions up to, and including, 4.1.0 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 an administrator to approve the pending testimonial through standard moderation and the target page to load the WordPress Interactivity runtime (e.g. a theme or block that enqueues @wordpress/interactivity).
📍 영향받는 시스템
The Real Testimonials 플러그인 4.1.0 이하 버전이 설치된 WordPress 사이트
⚔️ 공격 벡터
공격자가 추천글 제출 폼의 'tpro_client_testimonial' 파라미터에 악성 스크립트를 넣고, 관리자 승인 후 해당 페이지 방문자의 브라우저에서 실행되도록 유도
🛡️ 대응 방법
플러그인을 4.1.0 이후의 패치된 버전으로 업데이트하고, 기존에 승인된 의심스러운 추천글 내용을 점검하여 제거
🔧 검증 코드
출력된 Stable tag 값이 4.1.0 이하이면 취약한 버전이므로 업데이트가 필요하며, 명령 결과가 없으면 플러그인이 설치되어 있지 않은 것입니다.
grep -rl "Version" $(find / -path '*real-testimonials*' -name 'readme.txt' 2>/dev/null) 2>/dev/null | head -1 | xargs grep -i 'stable tag' 2>/dev/null