🇰🇷 한글 설명
WordPress용 FooGallery 플러그인의 'custom_settings' 쇼트코드 속성에서 입력값 검증 및 출력 이스케이프 미흡으로 인해 저장형 XSS 취약점이 발생합니다. 이를 통해 기여자(Contributor) 이상의 권한을 가진 인증된 공격자가 악성 스크립트를 삽입하여 사용자가 해당 페이지에 접속할 때 스크립트가 실행되도록 할 수 있습니다.
💡 쉬운 설명
플러그인 설정값에 악성 코드를 몰래 심어두는 취약점입니다. 권한이 있는 사용자가 이 코드를 심으면, 일반 사용자가 해당 페이지를 볼 때 해킹 공격을 당할 수 있습니다.
🇺🇸 원문 (English)
The Gallery : FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'custom_settings' Shortcode Attribute in all versions up to, and including, 3.3.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
📍 영향받는 시스템
WordPress FooGallery plugin (버전 3.3.2 이하 모든 버전)
⚔️ 공격 벡터
인증된 공격자가 'custom_settings' 쇼트코드 속성에 악성 스크립트를 삽입하여 실행
🛡️ 대응 방법
FooGallery 플러그인을 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 3.3.2 이하이면 취약한 상태입니다.
wp plugin list --name foogallery --format=json | grep -oP '(?<=version":")[^"]+'