🇰🇷 한글 설명
SOGO Add Script to Individual Pages Header Footer WordPress 플러그인 3.9 이하 버전에서 발생하는 취약점입니다. 기여자(Contributor) 권한 이상의 사용자가 포스트 메타박스에 저장된 커스텀 헤더/푸터 스크립트 값을 적절히 검증하거나 제한하지 않아, 악성 자바스크립트를 삽입할 수 있습니다. 이로 인해 관리자가 게시물을 검토하거나 방문자가 게시물을 볼 때 스크립트가 실행될 수 있습니다.
💡 쉬운 설명
글을 쓰는 권한이 있는 사람이 웹사이트에 몰래 악성 코드를 심을 수 있는 보안 구멍입니다. 이 코드가 실행되면 관리자의 정보를 훔치거나 방문자에게 피해를 줄 수 있습니다.
🇺🇸 원문 (English)
The SOGO Add Script to Individual Pages Header Footer WordPress plugin through 3.9 does not sanitise or escape the custom header/footer script values saved from its post metabox, and does not restrict them to users with the unfiltered_html capability, allowing users with contributor-level access and above to store JavaScript that executes in the browser of any administrator who reviews the post and of any visitor once the post is published.
📍 영향받는 시스템
SOGO Add Script to Individual Pages Header Footer WordPress plugin 3.9 및 그 이하 버전
⚔️ 공격 벡터
기여자 이상의 권한을 가진 사용자가 플러그인 설정값에 악성 자바스크립트를 삽입하여 저장
🛡️ 대응 방법
해당 플러그인을 최신 보안 패치가 적용된 버전으로 업데이트하거나, 스크립트 삽입 권한을 엄격히 제한
🔧 검증 코드
출력된 플러그인 이름과 버전이 3.9 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep -i 'sogo-add-script' && wp plugin list --all | grep -E 'sogo-add-script' | awk '{print $2 " " $3}'