🇰🇷 한글 설명
WordPress용 Hostel 플러그인의 모든 버전(1.1.8 포함)에서 'custom_currency' 매개변수와 'locale_url' 설정을 통한 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 관리자 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있습니다. 이 취약점은 멀티사이트 설치 환경 및 unfiltered_html 설정이 비활성화된 경우에만 영향을 미칩니다.
💡 쉬운 설명
관리자 권한을 가진 해커가 웹사이트 페이지에 몰래 악성 코드를 심어둘 수 있는 보안 약점입니다. 이 코드가 심어진 페이지를 방문하는 사용자는 해커가 의도한 동작을 강제로 수행하게 될 수 있습니다.
🇺🇸 원문 (English)
The Hostel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom_currency' parameter and the 'locale_url' setting in all versions up to, and including, 1.1.8 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
📍 영향받는 시스템
WordPress Hostel plugin version 1.1.8 and below (Multi-site or unfiltered_html disabled)
⚔️ 공격 벡터
관리자 권한을 이용한 'custom_currency' 매개변수 또는 'locale_url' 설정값에 악성 스크립트 삽입
🛡️ 대응 방법
Hostel 플러그인을 최신 버전으로 업데이트하고, 보안 설정을 강화하여 입력값 검증을 철저히 수행해야 합니다.
🔧 검증 코드
명령어 결과에 버전이 1.1.8 이하로 표시되면 해당 취약점에 노출된 상태입니다.
wp plugin list --name hostel --format=json | grep -E '"version":"[0-1]\.[0-1]\.[0-8]"'