🇰🇷 한글 설명
WordPress용 Tourfic 플러그인 3.0.1 이하 버전에서 댓글 내용에 대한 불충분한 입력값 검증 및 출력 이스케이프 미비로 인해 저장형 XSS 취약점이 발생합니다. 인증된 고객 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있으며, 이는 REST API나 RSS 피드를 통해 노출되어 다양한 클라이언트에서 실행될 수 있습니다.
💡 쉬운 설명
여행 예약 플러그인의 댓글창에 악성 코드를 숨겨서 저장할 수 있는 보안 약점이 발견되었습니다. 이 코드는 다른 사용자가 댓글을 보거나 관련 정보를 불러올 때 자동으로 실행되어 개인정보를 탈취할 수 있습니다.
🇺🇸 원문 (English)
The Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via unfiltered_html Grant to Customer Role in all versions up to, and including, 3.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires WooCommerce to be active, but since the customer role is freely self-registerable without admin approval, exploitation is effectively possible by any unauthenticated visitor who registers a WooCommerce account. While the plugin's own listing-page templates sanitize output with wp_kses_post(), the stored payload is returned unsanitized via the unauthenticated GET /wp-json/wp/v2/comments REST endpoint (content.rendered) and post/comment RSS feeds, exposing any headless client, feed reader, or third-party widget that renders comment content.
📍 영향받는 시스템
Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental plugin (v3.0.1 및 그 이하 버전, WooCommerce 활성화 시)
⚔️ 공격 벡터
고객 권한으로 로그인한 사용자가 댓글 작성 시 악성 스크립트를 포함하여 전송
🛡️ 대응 방법
Tourfic 플러그인을 최신 버전으로 업데이트하고, 입력값 검증 및 출력 이스케이프 로직이 적용되었는지 확인하십시오.
🔧 검증 코드
출력된 결과에서 Tourfic 플러그인의 버전이 3.0.1 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'tourfic'