🇰🇷 한글 설명
WordPress용 YMC Filter 플러그인 3.12.19 이하 버전에서 'post_title' 매개변수를 통한 저장형 DOM 기반 XSS 취약점이 발견되었습니다. 권한이 있는 공격자가 악성 스크립트를 삽입할 수 있으며, REST API의 권한 검증 미흡으로 인해 인증되지 않은 방문자도 해당 스크립트가 실행되는 페이지에 접속할 경우 공격에 노출될 수 있습니다.
💡 쉬운 설명
글 작성 권한이 있는 사용자가 게시물 제목에 악성 코드를 숨겨둘 수 있는 보안 약점입니다. 일반 방문자가 해당 글을 읽기만 해도 브라우저에서 악성 코드가 자동으로 실행되어 개인정보가 탈취될 위험이 있습니다.
🇺🇸 원문 (English)
The YMC Filter plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'post_title' parameter in all versions up to, and including, 3.12.19 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The autocomplete REST endpoint is registered with a permission callback that unconditionally returns true, meaning any site visitor — including unauthenticated users — can trigger the payload simply by typing in the YMC filter search box, while only Author-level access is required to store it.
📍 영향받는 시스템
YMC Filter plugin for WordPress (버전 3.12.19 및 그 이하 모든 버전)
⚔️ 공격 벡터
작성자 권한을 가진 공격자가 'post_title' 매개변수에 스크립트를 삽입하여 저장한 후, 일반 사용자가 해당 페이지를 조회하도록 유도
🛡️ 대응 방법
YMC Filter 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 ymc-filter 플러그인의 버전이 3.12.19 이하인지 확인하십시오.
wp plugin list --allow-root | grep -E 'ymc-filter'