🇰🇷 한글 설명
WordPress의 Toocheke Companion 플러그인 2.10 이하 버전에서 'series_bg_color' 포스트 메타 필드를 통한 저장형 XSS 취약점이 발견되었습니다. toocheke_series_bg_color_save() 함수에서 입력값 검증이 미흡하고, 관리자 페이지 렌더링 시 출력 이스케이프 처리가 누락되어 발생합니다. 이를 통해 기여 권한 이상의 인증된 공격자가 관리자 대시보드에서 임의의 스크립트를 실행할 수 있습니다.
💡 쉬운 설명
플러그인의 설정값 저장 과정에서 보안 검사가 제대로 이루어지지 않아 발생하는 문제입니다. 공격자가 악성 코드를 심어두면, 관리자가 관리자 페이지를 열 때마다 해당 코드가 실행되어 관리자 권한을 탈취당할 수 있습니다.
🇺🇸 원문 (English)
The Toocheke Companion plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.10 via the 'series_bg_color' post meta field. This is due to insufficient input sanitization in the toocheke_series_bg_color_save() function (which stores the raw $_POST value in post meta) and insufficient output escaping in the series admin column rendering (where the stored value is concatenated into a style attribute without esc_attr()). 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, such as an administrator, accesses the series list table in the admin dashboard.
📍 영향받는 시스템
Toocheke Companion plugin for WordPress (version 2.10 and below)
⚔️ 공격 벡터
기여 권한 이상의 인증된 사용자가 'series_bg_color' 필드에 악성 스크립트를 삽입하여 저장
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 입력값 검증(sanitization) 및 출력 이스케이프(escaping) 로직을 적용한 패치를 적용하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인 이름과 2.10 이하의 버전이 나타나면 취약한 상태입니다.
wp plugin list --name=toocheke-companion --format=csv | grep -E 'toocheke-companion,2\[0-9]\.'