Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 1 min 130 bronnen 4 kritiek 61 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-15300

CRITICAL · 9.1 CVSS Gepubliceerd: CWE-89

Beschrijving NL

De GEO-mijn WP-plug-in voor WordPress was kwetsbaar voor SQL-injectie via de 'distance' -, 'lat' - en 'lng' -parameters in versies tot en met 4.5.4. De waarden werden uitgelezen van $_SERVER['QUERY_STRING'] via parse_str() (het omzeilen van wp_magic_quotes, die geen betrekking heeft op $_SERVER), en vervolgens door bare esc_sql() gegaan voordat ze werden geïnterpoleerd naar niet-aanhalingstekens numerieke posities in de proximity-search query (MET/SELECT clause distance math, BETWEEN bounding-box pre-filter) gebouwd door gmw_locations_query() in plugins/posts-locator/includes/class-gmw-wp-query.php. Omdat esc_sql() alleen ontsnapt aan tekenreeksscheidingstekens en deze posities numeriek zijn, overleefden ladingen zoals `1 OR SLEEP(3)` de ontsmetting. Vastgezet in 4.5.5 door een upstream is_numeric() guard toe te voegen die de WHERE clausule kortsluit naar `EN 1 = 0` wanneer een van beide coördinaten niet-numeriek is, en door de drie esc_sql() calls te vervangen door (float) casts.

Origineel (Engels) tonen

The GEO my WP plugin for WordPress was vulnerable to SQL Injection via the 'distance', 'lat', and 'lng' parameters in versions up to, and including, 4.5.4. The values were read from $_SERVER['QUERY_STRING'] via parse_str() (bypassing wp_magic_quotes, which does not cover $_SERVER), then passed through bare esc_sql() before being interpolated into unquoted numeric positions in the proximity-search query (HAVING/SELECT clause distance math, BETWEEN bounding-box pre-filter) built by gmw_locations_query() in plugins/posts-locator/includes/class-gmw-wp-query.php. Because esc_sql() only escapes string delimiters and these positions are numeric, payloads such as `1 OR SLEEP(3)` survived sanitization. Fixed in 4.5.5 by adding an upstream is_numeric() guard that short-circuits the WHERE clause to `AND 1 = 0` when either coordinate is non-numeric, and by replacing the three esc_sql() calls with (float) casts.

References