🇰🇷 한글 설명
WordPress의 Post Snippets 플러그인 4.2.4 이하 버전에서 변수 값이 적절히 이스케이프되지 않는 취약점이 발견되었습니다. 이를 통해 기여자(Contributor) 이상의 권한을 가진 사용자가 임의의 웹 스크립트를 삽입하여 콘텐츠 조회 시 실행될 수 있습니다.
💡 쉬운 설명
글 작성 권한이 있는 사용자가 악성 코드를 몰래 심어둘 수 있는 보안 약점입니다. 이 코드가 심어진 글을 다른 사람이 읽으면 사용자의 브라우저에서 해킹 코드가 작동할 수 있습니다.
🇺🇸 원문 (English)
The Post Snippets WordPress plugin through 4.2.4 does not properly escape variable values substituted into snippets before outputting them, allowing users with the Contributor role and above to inject arbitrary web scripts that execute when the content is viewed.
📍 영향받는 시스템
WordPress Post Snippets plugin version 4.2.4 and below
⚔️ 공격 벡터
기여자 이상의 권한을 가진 사용자가 스니펫 내 변수에 악성 스크립트를 삽입하여 실행
🛡️ 대응 방법
Post Snippets 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 4.2.4 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --name post-snippets --format=json | grep -oP '(?<=version":")[^"]+'