🇰🇷 한글 설명
WordPress용 WP Maps 플러그인 4.9.8 이하 버전에서 shapes_values 파라미터를 통한 저장형 XSS 취약점이 발견되었습니다. 인증된 구독자 권한을 가진 공격자가 부적절한 입력값 검증과 출력 이스케이프 미비점을 악용하여 악성 스크립트를 삽입할 수 있습니다. 특히 nonce 노출 및 보안 검증 우회로 인해 공격자가 유효한 요청을 생성하기 용이합니다.
💡 쉬운 설명
지도 플러그인을 사용하는 웹사이트에 로그인 권한이 있는 사용자가 악성 코드를 몰래 심을 수 있는 보안 약점입니다. 이 코드가 실행되면 해당 페이지를 방문하는 다른 사용자들의 정보를 훔치거나 웹사이트를 변조할 수 있습니다.
🇺🇸 원문 (English)
The WP Maps – Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters plugin for WordPress is vulnerable to Stored Cross-Site Scripting via shapes_values Parameter in all versions up to, and including, 4.9.8 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. The fc-call-nonce nonce required by the endpoint is exposed to all frontend visitors who view a map page via window.wpgmp_local.nonce, enabling any authenticated subscriber to read the nonce and craft a valid request; additionally, the secondary _wpnonce check in the drawing handler can be bypassed by simply omitting the _wpnonce parameter from the request.
📍 영향받는 시스템
WP Maps – Google Maps, OpenStreetMap, Mapbox, Store Locator, Listing, Directory & Filters plugin (버전 4.9.8 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증된 구독자 권한을 가진 공격자가 노출된 nonce 값을 이용해 shapes_values 파라미터에 악성 스크립트를 삽입하여 전송
🛡️ 대응 방법
WP Maps 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 wp-maps 플러그인의 버전이 4.9.8 이하인지 확인하십시오.
wp plugin list --format=table | grep -E 'wp-maps'