QID 150673

Date Published: 2023-04-18

QID 150673: GeoServer OGC Filter SQL Injection Vulnerability (CVE-2023-25157)

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. GeoServer OGC Filter is vulnerable to multiple SQL injection vulnerabilities.

Affected Versions:
GeoServer Versions prior to version 2.18.7
GeoServer Versions from 2.19.0 prior to version 2.18.7
GeoServer Versions from 2.20.0 prior to version 2.18.7
GeoServer Versions from 2.21.0 prior to version 2.21.4
GeoServer Versions from 2.22.0 prior to version 2.21.2

QID Detection Logic (Unauthenticated):
This QID sends a HTTP GET request checks for vulnerable version of GeoServer running on the target host.

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    Customers are advised to upgrade to latest version of GeoServer to remediate this vulnerability. For more information please refer GeoServer Advisory

    CVEs related to QID 150673

    Software Advisories
    Advisory ID Software Component Link
    GHSA-7g5f-wrx8-5ccf URL Logo github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report