// For flags

CVE-2023-25157

Unfiltered SQL Injection Vulnerabilities in Geoserver

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

6
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-02-03 CVE Reserved
  • 2023-02-21 CVE Published
  • 2023-06-08 First Exploit
  • 2024-08-02 CVE Updated
  • 2024-09-13 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Osgeo
Search vendor "Osgeo"
Geoserver
Search vendor "Osgeo" for product "Geoserver"
< 2.18.7
Search vendor "Osgeo" for product "Geoserver" and version " < 2.18.7"
-
Affected
Osgeo
Search vendor "Osgeo"
Geoserver
Search vendor "Osgeo" for product "Geoserver"
>= 2.19.0 < 2.19.7
Search vendor "Osgeo" for product "Geoserver" and version " >= 2.19.0 < 2.19.7"
-
Affected
Osgeo
Search vendor "Osgeo"
Geoserver
Search vendor "Osgeo" for product "Geoserver"
>= 2.20.0 < 2.20.7
Search vendor "Osgeo" for product "Geoserver" and version " >= 2.20.0 < 2.20.7"
-
Affected
Osgeo
Search vendor "Osgeo"
Geoserver
Search vendor "Osgeo" for product "Geoserver"
>= 2.21.0 < 2.21.4
Search vendor "Osgeo" for product "Geoserver" and version " >= 2.21.0 < 2.21.4"
-
Affected
Osgeo
Search vendor "Osgeo"
Geoserver
Search vendor "Osgeo" for product "Geoserver"
>= 2.22.0 < 2.22.2
Search vendor "Osgeo" for product "Geoserver" and version " >= 2.22.0 < 2.22.2"
-
Affected