CVE-2023-25157: Unfiltered SQL Injection Vulnerabilities in Geoserver
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. GeoServer includes support for the OGC Filter expression language and the OGC Common Query Language (CQL) as part of the Web Feature Service (WFS) and Web Map Service (WMS) protocols. CQL is also supported through the Web Coverage Service (WCS) protocol for ImageMosaic coverages. Users are advised to upgrade to either version 2.21.4, or version 2.22.2 to resolve this issue. Users unable to upgrade should disable the PostGIS Datastore encode functions setting to mitigate strEndsWith, strStartsWith and PropertyIsLike misuse and enable the PostGIS DataStore preparedStatements setting to mitigate the FeatureId misuse.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-25157?
CVE-2023-25157 is a vulnerability in GeoServer, an open source software server written in Java, that allows users to share and edit geospatial data.
What is the severity of CVE-2023-25157?
The severity of CVE-2023-25157 is critical with a severity score of 9.8.
What is the affected software for CVE-2023-25157?
The affected software for CVE-2023-25157 is GeoServer versions up to 2.18.7, 2.19.0 to 2.19.7, 2.20.0 to 2.20.7, 2.21.0 to 2.21.4, and 2.22.0 to 2.22.2.
How does CVE-2023-25157 impact GeoServer?
CVE-2023-25157 allows arbitrary code execution and unauthorized access to the GeoServer application, potentially leading to data disclosure or manipulation.
How can I fix CVE-2023-25157?
To fix CVE-2023-25157, it is recommended to update GeoServer to the latest version available, which includes the necessary security patches.