#VU24691 SQL injection in Geocoder - CVE-2020-7981
Published: January 28, 2020
Geocoder
Alex Reisner
Description
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data in sql.rb when "within_bounding_box" is used in conjunction with "untrusted sw_lat", "sw_lng", "ne_lat", or "ne_lng" data. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.