🇰🇷 한글 설명
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 플러그인의 4.0.9 이하 버전에서 'display_name' 매개변수에 대한 입력값 검증 및 출력 이스케이프가 불충분하여 저장형 크로스사이트 스크립팅(XSS)이 발생합니다. 구독자 이상 권한의 인증된 공격자가 악성 스크립트를 삽입할 수 있으며, Author Filter 블록이 포함된 페이지에서 피해자가 공격자의 작성자 항목을 클릭하면 스크립트가 실행됩니다.
💡 쉬운 설명
워드프레스 블로그 플러그인의 취약점으로, 낮은 권한의 사용자가 페이지에 악성 코드를 심을 수 있습니다. 방문자가 특정 필터 메뉴의 항목을 클릭하면 그 코드가 실행되어 정보가 탈취될 수 있습니다.
🇺🇸 원문 (English)
The Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'display_name' parameter in all versions up to, and including, 4.0.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the victim page to contain an Author Filter block alongside a grid or live-filter block, and execution is triggered by a visitor clicking the attacker's author entry in the dropdown — a standard filter interaction requiring no elevated privileges from the victim.
📍 영향받는 시스템
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 플러그인 4.0.9 이하 버전
⚔️ 공격 벡터
구독자 이상 권한의 공격자가 display_name 필드에 스크립트를 삽입하고, Author Filter 블록이 있는 페이지에서 방문자가 해당 작성자 항목을 클릭하면 실행됨
🛡️ 대응 방법
플러그인을 4.0.9 초과 최신 버전으로 업데이트하고, 업데이트 불가 시 플러그인을 비활성화하거나 사용자 권한을 점검
🔧 검증 코드
출력된 버전이 4.0.9 이하이면 취약하므로 업데이트가 필요하고, 4.0.9보다 높으면 취약점이 패치된 버전입니다. 명령 결과가 없으면 플러그인 디렉터리 이름을 확인해야 합니다.
wp plugin get smart-post-show --field=version 2>/dev/null || grep -i 'Version:' wp-content/plugins/smart-post-show/*.php 2>/dev/null | head -1