🇰🇷 한글 설명
WordPress용 TranslatePress 플러그인 3.2.5 이하 버전에서 's' 파라미터를 통한 반사형 XSS 취약점이 발견되었습니다. translate_page() 함수가 내부 마커 토큰을 HTML 꺽쇠괄호로 무조건 교체하는 과정에서 WordPress의 보안 필터링을 우회하여 악성 스크립트가 실행될 수 있습니다.
💡 쉬운 설명
웹사이트의 번역 기능에서 특수한 기호를 사용하면 보안 검사를 피해 악성 코드를 심을 수 있는 문제입니다. 공격자가 만든 링크를 사용자가 클릭하면 사용자의 브라우저에서 원치 않는 동작이 실행될 수 있습니다.
🇺🇸 원문 (English)
The Translate Multilingual sites – TranslatePress plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 's' parameter in versions up to, and including, 3.2.5. This is due to the translate_page() function unconditionally replacing the plugin's internal #!trpst# and #!trpen# marker tokens with literal angle brackets across the entire HTML page output after WordPress has already sanitized and escaped user input — allowing the attacker to bypass WordPress's normal HTML escaping by using these tokens, which are not HTML special characters, in the search query. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a specially crafted link.
📍 영향받는 시스템
WordPress TranslatePress plugin versions up to and including 3.2.5
⚔️ 공격 벡터
조작된 's' 파라미터가 포함된 URL을 사용자에게 클릭하도록 유도하는 방식
🛡️ 대응 방법
TranslatePress 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 translatepress의 버전이 3.2.5 이하인지 확인하십시오.
wp-cli plugin list --allow-root | grep -E 'translatepress'