Impact
The GEO my WP plugin for WordPress allows an attacker to inject arbitrary SQL through the 'distance', 'lat', and 'lng' query parameters. These values are extracted directly from the raw query string, bypassing WordPress’s magic quotes handling, and then sanitized only with esc_sql() before being placed in unquoted numeric positions of a proximity‑search query. Because the parameters are expected to be numeric, esc_sql() does not escape characters such as ‘OR’ or semicolons, enabling payloads like "1 OR SLEEP(3)" to survive sanitization. The result is a high‑severity vulnerability that can lead to unauthorized data access, data modification, and potential compromise of the entire database.
Affected Systems
WordPress sites running the GEO my WP plugin version 4.5.4 or earlier, which includes all releases from ninjew up to and including 4.5.4.
Risk and Exploitability
The vulnerability scores a CVSS of 9.1, indicating a very high impact. The EPSS score of <1% indicates a very low but non‑zero probability of exploitation. The issue is not listed in the CISA KEV catalog, but the vulnerability is publicly known, fully unauthenticated, and exploitable via crafted URLs. An attacker can execute arbitrary SQL statements on the database, potentially extracting or tampering with content, user data, and site configuration.
OpenCVE Enrichment