🇰🇷 한글 설명
WordPress의 CMB2 플러그인 2.13.1 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 인증되지 않은 공격자가 임의의 웹 스크립트를 삽입하고 사용자가 해당 페이지에 접속할 때 실행되도록 할 수 있습니다.
💡 쉬운 설명
해커가 웹사이트의 특정 입력창에 악성 코드를 몰래 심어둘 수 있는 보안 약점입니다. 이 코드가 심어진 페이지를 방문하는 일반 사용자는 자신도 모르게 해킹 피해를 입을 수 있습니다.
🇺🇸 원문 (English)
The CMB2 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '<textarea_code field id> (e.g. kl_code, kl_post_code)' parameter in all versions up to, and including, 2.13.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The front-end save path requires only a CMB2 box nonce, which is emitted to all visitors including unauthenticated guests via a simple GET request, making the attack trivially reachable without any credentials on sites that expose a public CMB2 form writing a textarea_code field.
📍 영향받는 시스템
WordPress CMB2 plugin versions up to and including 2.13.1
⚔️ 공격 벡터
인증되지 않은 공격자가 공개된 CMB2 폼의 textarea_code 필드에 악성 스크립트를 주입
🛡️ 대응 방법
CMB2 플러그인을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 cmb2 플러그인의 버전이 2.13.1 이하인지 확인하십시오.
wp-cli plugin list --allow-root | grep -E 'cmb2'