In the wp-google-maps plugin before 7.11.18 for WordPress, includes/class.rest-api.php in the REST API does not sanitize field names before a SELECT statement.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-google-maps&old=2061433&new_path=%2Fwp-google-maps&new=2061434&sfp_email=&sfph_mail=#file755 | third party advisory patch |
https://wordpress.org/plugins/wp-google-maps/#developers | third party advisory |
http://www.rapid7.com/db/modules/auxiliary/admin/http/wp_google_maps_sqli | third party advisory exploit |
http://packetstormsecurity.com/files/159640/WordPress-Rest-Google-Maps-SQL-Injection.html | third party advisory vdb entry exploit |