CVE-2023-25157: Unfiltered SQL Injection Vulnerabilities in Geoserver

Published Feb 21, 2023
·
Updated

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

5 affected components
OSGeo GeoServer<2.18.7
OSGeo GeoServer>=2.19.0<2.19.7
OSGeo GeoServer>=2.20.0<2.20.7
OSGeo GeoServer>=2.21.0<2.21.4
OSGeo GeoServer>=2.22.0<2.22.2

Event History

Feb 21, 2023
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

What is the severity of CVE-2023-25157?

The severity of CVE-2023-25157 is critical with a severity score of 9.8.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203