🇰🇷 한글 설명
WordPress의 Thai Lottery Widget 플러그인 2.5 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. thailottery 숏코드의 width 및 height 속성에 대한 입력값 검증 및 출력 이스케이프 처리가 미흡하여 발생합니다. 이를 통해 기여자(Contributor) 이상의 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있습니다.
💡 쉬운 설명
플러그인의 설정값에 검증되지 않은 코드를 넣을 수 있는 허점이 있어, 공격자가 몰래 악성 프로그램을 심을 수 있습니다. 이 페이지를 방문하는 사용자는 공격자가 의도한 위험한 동작을 실행하게 될 수 있습니다.
🇺🇸 원문 (English)
The Thai Lottery Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `thailottery` shortcode in all versions up to, and including, 2.5. This is due to insufficient input sanitization and output escaping on the user supplied `width` and `height` shortcode attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
📍 영향받는 시스템
WordPress Thai Lottery Widget plugin (버전 2.5 및 그 이하 모든 버전)
⚔️ 공격 벡터
권한을 가진 공격자가 숏코드 속성에 악성 스크립트를 삽입하여 페이지에 저장하는 방식
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 입력값 검증이 강화된 패치를 적용해야 합니다.
🔧 검증 코드
출력된 버전 번호가 2.5 이하이면 해당 취약점에 노출된 상태입니다.
wp plugin list --name thailottery --format=json | grep -oP '(?<=version":")[^"]+'