🇰🇷 한글 설명
GeoDirectory WordPress 플러그인 2.8.194 이전 버전은 지도 숏코드 속성을 style 속성에 출력하기 전에 적절히 sanitize 및 escape 처리하지 않습니다. 이로 인해 Contributor 이상 권한의 사용자가 저장형 XSS 공격을 수행할 수 있으며, 해당 콘텐츠를 보는 모든 사용자의 브라우저에서 악성 스크립트가 실행될 수 있습니다.
💡 쉬운 설명
글을 올릴 수 있는 일반 사용자가 지도 기능에 악성 코드를 숨겨 넣을 수 있습니다. 그 페이지를 방문한 다른 사람들의 브라우저에서 이 코드가 몰래 실행될 수 있습니다.
🇺🇸 원문 (English)
The GeoDirectory WordPress plugin before 2.8.194 does not sanitise and escape some of its map shortcode attributes before outputting them within a style attribute, allowing users with the Contributor role and above to perform Stored Cross-Site Scripting attacks that execute in the context of any user viewing the affected content.
📍 영향받는 시스템
GeoDirectory WordPress 플러그인 2.8.194 미만 버전
⚔️ 공격 벡터
Contributor 이상 권한 계정으로 지도 숏코드 속성에 악성 스크립트를 삽입해 저장하면, 해당 콘텐츠를 열람하는 사용자에게 스크립트가 실행됨
🛡️ 대응 방법
GeoDirectory 플러그인을 2.8.194 이상 버전으로 업데이트하고, 신뢰할 수 없는 Contributor 계정을 점검합니다.
🔧 검증 코드
출력된 version 값이 2.8.194 미만이면 취약하며, 2.8.194 이상이면 패치가 적용된 것입니다.
wp plugin list --name=geodirectory --fields=name,version,status 2>/dev/null || grep -m1 'Version' /var/www/html/wp-content/plugins/geodirectory/geodirectory.php