🇰🇷 한글 설명
WordPress의 Pochipp 플러그인 1.20.2 이하 버전에서 'keyword' 파라미터를 통한 반사형 XSS 취약점이 발견되었습니다. 출력 시 esc_attr() 함수를 사용하지 않아 발생하는 문제로, 공격자가 악성 스크립트를 삽입하여 권한이 있는 사용자의 브라우저에서 실행될 수 있습니다.
💡 쉬운 설명
웹사이트 검색창에 특수하게 조작된 코드를 입력하여 다른 사용자의 정보를 훔치거나 악성 동작을 수행하게 만드는 취약점입니다. 관리자가 조작된 링크를 클릭할 경우 공격자가 의도한 스크립트가 실행될 위험이 있습니다.
🇺🇸 원문 (English)
The Pochipp plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'keyword' parameter in versions up to, and including, 1.20.2. This is due to insufficient output escaping , which reads $_GET['keyword'], applies only sanitize_text_field() (which strips tags but leaves double quotes intact) and interpolates the value directly into the value attribute of the search input via a PHP heredoc, without esc_attr(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user with upload_files capability (Author or above) into performing an action such as clicking on a specially crafted link to /wp-admin/media-upload.
📍 영향받는 시스템
WordPress Pochipp plugin versions up to and including 1.20.2
⚔️ 공격 벡터
공격자가 조작된 'keyword' 파라미터가 포함된 URL을 권한이 있는 사용자에게 클릭하도록 유도
🛡️ 대응 방법
Pochipp 플러그인을 최신 버전으로 업데이트하거나, 출력 시 esc_attr()를 사용하여 데이터를 이스케이프 처리해야 합니다.
🔧 검증 코드
출력된 버전 번호가 1.20.2와 같거나 그보다 낮은지 확인하십시오.
wp-cli plugin list --name=pochipp --format=json | grep -oP '(?<=version":")[^"]+'