🇰🇷 한글 설명
WordPress용 GeoDirectory 플러그인에서 입력값 검증 및 출력 이스케이프 미흡으로 인해 저장형 XSS 취약점이 발견되었습니다. 인증된 공격자(구독자 권한 이상)가 'post_images' 파라미터를 통해 악성 스크립트를 삽입할 수 있으며, 해당 페이지를 방문하는 사용자의 브라우저에서 스크립트가 실행됩니다.
💡 쉬운 설명
게시물 이미지 정보를 입력할 때 검사 과정이 부족하여, 해커가 몰래 악성 코드를 심어둘 수 있는 문제입니다. 이 코드가 심어진 페이지를 일반 사용자가 클릭하면 해커가 의도한 동작이 사용자의 브라우저에서 실행됩니다.
🇺🇸 원문 (English)
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_images (file_info[2] = title)' parameter in all versions up to, and including, 2.8.190 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.
📍 영향받는 시스템
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory (버전 2.8.190 이하 전체)
⚔️ 공격 벡터
인증된 사용자가 'post_images' 파라미터에 악성 스크립트를 포함하여 게시물을 저장하는 방식
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 입력값에 대한 적절한 산니타이징(Sanitization) 및 출력 이스케이프 처리를 적용해야 합니다.
🔧 검증 코드
출력된 결과에서 geodirectory 플러그인의 버전이 2.8.190 이하인지 확인합니다.
wp plugin list --allow-root | grep -E 'geodirectory'