GeoDirectory – WP Business Directory Plugin and Classified Listings Directory に脆弱性 — CVE-2026-136488
いま何をすべきか
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory を 2.8.209 以降に更新してください。
影響を受けるバージョン
- 2.8.208 以下のすべて
対象: プラグイン「GeoDirectory – WP Business Directory Plugin and Classified Listings Directory」(geodirectory)
何が起きるのか
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to generic SQL Injection via the 'stype' parameter in all versions up to, and including, 2.8.208 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is possible because the plugin's mu-plugin companion (copied automatically on install when the default 'Enable Fast AJAX' option is on) defines DOING_AJAX on any front-end request carrying gd-ajax=1, and an unconditional branch in geodir_get_current_posttype() restores the attacker-controlled stype value after the allow-list check clears it, allowing the tainted value to reach the SQL sink without any preparation.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-fast-ajax.php#L51
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-query.php#L385
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-query.php#L928
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/core-functions.php#L544
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/helper-functions.php#L19