Maps Plugin using Google Maps for WordPress – WP Google Map に脆弱性 — CVE-2026-120571
いま何をすべきか
Maps Plugin using Google Maps for WordPress – WP Google Map を 2.0.0 以降に更新してください。
影響を受けるバージョン
- 1.9.9 以下のすべて
対象: プラグイン「Maps Plugin using Google Maps for WordPress – WP Google Map」(gmap-embed)
何が起きるのか
The Maps Plugin using Google Maps for WordPress - WP Google Map plugin for WordPress is vulnerable to SQL Injection via the array keys of the `categories` entries parsed from an imported JSON file in versions up to, and including, 1.9.9 This is due to the wgm_handle_import() function sanitizing only the known-named VALUES (`name`, `icon`) of each category object while passing the attacker-controlled JSON object KEYS directly to `$wpdb->insert()`, which interpolates them as column names into the generated INSERT statement without escaping embedded backticks. This makes it possible for authenticated attackers, with Subscriber-level access and above (when the plugin's own 'Minimum Role for Map Editor' setting has been configured to 'Subscriber', one of five values the plugin's settings UI offers), to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database, including administrator password hashes.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
Maps Plugin using Google Maps for WordPress – WP Google Map を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Classes/Bootstrap.php#L46
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L14
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L338
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L373
- https://plugins.trac.wordpress.org/changeset/3813974/gmap-embed
- https://plugins.trac.wordpress.org/changeset/3813974/gmap-embed/trunk/includes/Traits/ImportExport.php