🇰🇷 한글 설명
WordPress용 GitHub Gist Shortcode Plugin의 모든 버전(0.2 이하)에서 'gist' shortcode의 'id' 파라미터를 통한 Stored XSS 취약점이 발견되었습니다. Contributor 이상의 권한을 가진 인증된 공격자가 페이지에 악의적인 스크립트를 주입할 수 있으며, 해당 페이지에 접근하는 모든 사용자에게 실행됩니다.
💡 쉬운 설명
WordPress 블로그에서 GitHub 코드를 보여주는 플러그인에 보안 구멍이 있어서, 글 쓸 수 있는 권한이 있는 사람이 악성 코드를 숨겨넣을 수 있습니다. 그 글을 읽는 모든 방문자가 해킹될 수 있습니다.
🇺🇸 원문 (English)
The GitHub Gist Shortcode Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter of the 'gist' shortcode in all versions up to, and including, 0.2 due to insufficient input sanitization and output escaping. 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.
📍 영향받는 시스템
GitHub Gist Shortcode Plugin for WordPress 버전 0.2 이하
⚔️ 공격 벡터
Contributor 이상 권한의 인증된 사용자가 gist shortcode의 id 파라미터에 JavaScript 코드를 주입하여 Stored XSS 실행
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나 Contributor 권한 할당을 제한하고 입력 검증 및 출력 이스케이프가 적용된 패치 버전 설치
🔧 검증 코드
설치된 플러그인 목록에서 gist 관련 플러그인의 버전을 확인하여 0.2 이하인지 검증
wp plugin list | grep -i gist || echo 'Plugin not found'