🇰🇷 한글 설명
WordPress용 GeoDirectory 플러그인에서 저장형 XSS 취약점이 발견되었습니다. 인증된 공격자가 'email' 매개변수를 통해 악성 스크립트를 삽입할 수 있으며, 관리자가 해당 리스팅을 승인하고 특정 설정이 활성화된 경우 사용자에게 스크립트가 실행됩니다.
💡 쉬운 설명
게시판에 글을 올릴 때 이메일 칸에 몰래 악성 코드를 적어 넣는 방식입니다. 관리자가 이 글을 승인하면, 해당 페이지를 보는 다른 사람들의 브라우저에서 나쁜 코드가 실행될 수 있습니다.
🇺🇸 원문 (English)
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'email (Contact Email custom field htmlvar_name)' parameter in all versions up to, and including, 2.8.188 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. Successful exploitation requires that an administrator has added and configured the Contact Email custom field to render on the public single-listing output page, and that the administrator subsequently approves the attacker's submitted listing.
📍 영향받는 시스템
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory (버전 2.8.188 이하)
⚔️ 공격 벡터
인증된 사용자(구독자 권한 이상)가 리스팅 제출 시 'email' 필드에 악성 스크립트를 삽입하여 공격
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 입력값 검증 및 출력 이스케이프 처리가 적용된 패치를 적용하십시오.
🔧 검증 코드
출력된 결과에서 GeoDirectory 플러그인의 설치 여부와 버전을 확인하여 2.8.188 이하인지 체크합니다.
wp plugin list --allow-root | grep -i 'geodirectory'