🇰🇷 한글 설명
WordPress의 Sticky 플러그인 2.5.6 이하 버전에서 `cvmh-sticky` 숏코드의 `readmoretext` 속성을 통해 저장형 XSS 취약점이 발생합니다. 입력값에 대한 적절한 검증과 출력 시 이스케이프 처리가 누락되어, 기여자(Contributor) 이상의 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있습니다.
💡 쉬운 설명
웹사이트 관리 권한이 있는 사용자가 게시물에 몰래 악성 코드를 심을 수 있는 보안 약점입니다. 이 코드가 포함된 페이지를 방문하는 일반 사용자들은 해킹 공격을 받을 위험이 있습니다.
🇺🇸 원문 (English)
The Sticky plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `cvmh-sticky` shortcode `readmoretext` attribute in versions up to and including 2.5.6. This is due to insufficient input sanitization and output escaping in the `cvmh_sticky_front_render()` function — the `readmoretext` attribute value is passed through `apply_filters()` and directly concatenated into the HTML output without any escaping function such as `esc_html()`. 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 a page containing the injected shortcode.
📍 영향받는 시스템
WordPress Sticky plugin versions up to and including 2.5.6
⚔️ 공격 벡터
권한을 가진 공격자가 숏코드 속성에 악성 스크립트를 삽입하여 서버에 저장하는 방식
🛡️ 대응 방법
Sticky 플러그인을 최신 버전으로 업데이트하거나, 입력값 검증 및 출력 이스케이프 처리가 적용된 패치를 적용하십시오.
🔧 검증 코드
명령어 결과에 취약한 버전 번호가 출력되면 해당 플러그인이 설치되어 있는 상태입니다.
wp plugin list --name sticky --format=json | grep -E '2.5.6|2.5.5|2.5.4'