🇰🇷 한글 설명
WordPress의 GeoDirectory 플러그인 2.8.186 이하 버전에서 위도/경도 좌표 저장 시 검증 및 이스케이프 처리가 미흡하여 SQL 인젝션 취약점이 발생합니다. 인증된 공격자가 특정 AJAX 요청을 통해 데이터베이스에 추가 쿼리를 삽입하여 민감한 정보를 탈취할 수 있습니다.
💡 쉬운 설명
지도 정보를 저장할 때 입력값이 제대로 검사되지 않아 발생하는 보안 문제입니다. 공격자가 특수하게 조작된 값을 입력하면 데이터베이스에 저장된 중요한 정보를 몰래 빼낼 수 있습니다.
🇺🇸 원문 (English)
The GeoDirectory plugin for WordPress is vulnerable to SQL Injection via the stored latitude/longitude coordinates of a listing in versions up to, and including, 2.8.186. This is due to insufficient escaping and the absence of numeric validation on coordinate values when a listing is saved, combined with the direct string interpolation of those values into a distance sub-expression in geodir_gps_query_part() that is later executed by the public wp_ajax_nopriv_geodir_widget_listings handler when a caller supplies set_post=<pending-listing-id> and sort_by=distance_asc. This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
📍 영향받는 시스템
WordPress GeoDirectory plugin versions up to and including 2.8.186
⚔️ 공격 벡터
인증된 사용자가 위도/경도 좌표에 악성 SQL 구문을 삽입하여 AJAX 요청을 통해 실행
🛡️ 대응 방법
GeoDirectory 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 geodir 플러그인의 버전이 2.8.186 이하인지 확인하십시오.
wp-cli plugin list --allow-root | grep -E 'geodir'