🇰🇷 한글 설명
WordPress의 Custom CSS, JS & PHP 플러그인 2.3.0 이하 버전에서 URL 처리 시 부적절한 이스케이핑으로 인한 반사형 XSS 취약점입니다. 공격자가 조작된 링크를 사용자에게 보내 악성 스크립트를 실행하게 할 수 있습니다.
💡 쉬운 설명
WordPress 플러그인의 특정 기능에서 URL을 제대로 안전하게 처리하지 않아 해커가 악성 코드를 숨긴 링크를 만들 수 있습니다. 사용자가 그 링크를 클릭하면 해커의 코드가 실행됩니다.
🇺🇸 원문 (English)
The Custom CSS, JS & PHP plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg & remove_query_arg without appropriate escaping on the URL in all versions up to, and including, 2.3.0. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
📍 영향받는 시스템
WordPress Custom CSS, JS & PHP 플러그인 버전 2.3.0 이하
⚔️ 공격 벡터
조작된 URL 링크를 통해 비인증 공격자가 타겟 사용자의 브라우저에서 임의의 JavaScript 실행
🛡️ 대응 방법
플러그인을 2.3.1 이상으로 업데이트하거나 플러그인 제거
🔧 검증 코드
WordPress 플러그인 목록에서 Custom CSS, JS & PHP 플러그인 설치 여부 및 버전 확인
wp plugin list --format=csv 2>/dev/null | grep -i 'custom.*css.*js' || grep -r 'custom-css-js-php' /var/www/html/wp-content/plugins/ 2>/dev/null