🇰🇷 한글 설명
WordPress의 User Registration & Membership 플러그인 5.2.8 이하 버전에서 임의의 쇼트코드 실행 취약점이 발견되었습니다. 공격자가 HTTP_REFERER 헤더를 조작하여 sanitize_text_field() 함수를 우회함으로써, 제한된 페이지의 메시지 내에서 임의의 쇼트코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트의 회원가입 플러그인이 사용자가 보낸 주소 정보를 검사할 때 보안 규칙을 제대로 지키지 않아 발생하는 문제입니다. 해커가 특수한 코드가 담긴 주소를 보내면, 웹사이트가 이를 명령어로 착각해 실행해버릴 수 있습니다.
🇺🇸 원문 (English)
The User Registration & Membership plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to, and including, 5.2.8 This is due to insufficient input sanitization in the 'referrer_url' branch of UR_Smart_Tags::process(), where the attacker-controlled HTTP_REFERER header is only passed through sanitize_text_field() — which does not strip WordPress shortcode delimiters — before being substituted into a Content Restriction message that is subsequently executed via apply_shortcodes()/do_shortcode(). This makes it possible for unauthenticated attackers to execute arbitrary registered shortcodes on any restricted page whose message uses the supported {{referrer_url}} smart tag.
📍 영향받는 시스템
WordPress User Registration & Membership plugin versions up to and including 5.2.8
⚔️ 공격 벡터
조작된 HTTP_REFERER 헤더를 이용한 비인증 원격 공격
🛡️ 대응 방법
플러그인을 최신 보안 패치 버전으로 업데이트하거나, {{referrer_url}} 스마트 태그 사용을 중단하십시오.
🔧 검증 코드
출력된 플러그인 목록에서 해당 플러그인의 버전이 5.2.8 이하인지 확인하십시오.
wp plugin list --status=active | grep -E 'user-registration-membership'