ID:9606 - Exploit for SQL injection in geoserver - CVE-2023-25157

 
Main Vulnerability Database Exploits ID:9606 - Exploit for SQL injection in geoserver - CVE-2023-25157

ID:9606 - Exploit for SQL injection in geoserver - CVE-2023-25157

Published: March 22, 2024


Vulnerability identifier: #VU80952
Vulnerability risk: High
CVE-ID: CVE-2023-25157
CWE-ID: CWE-89
Exploitation vector: Remote access
Vulnerable software:
geoserver

Link to public exploit:


Vulnerability 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 the "strEndsWith", "strStartsWith", "jsonArrayContains" functions and "PropertyIsLike", "FeatureId", "DWithin" filters. 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.


Remediation

Install updates from vendor's website.