CVE-2023-25157
Unfiltered SQL Injection Vulnerabilities in Geoserver
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
6Exploited in Wild
-Decision
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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-02-03 CVE Reserved
- 2023-02-21 CVE Published
- 2023-06-08 First Exploit
- 2024-08-02 CVE Updated
- 2024-10-12 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CAPEC
References (8)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/dr-cable-tv/Geoserver-CVE-2023-25157 | 2023-11-28 | |
https://github.com/win3zz/CVE-2023-25157 | 2023-06-08 | |
https://github.com/murataydemir/CVE-2023-25157-and-CVE-2023-25158 | 2023-06-11 | |
https://github.com/0x2458bughunt/CVE-2023-25157 | 2023-06-10 | |
https://github.com/7imbitz/CVE-2023-25157-checker | 2023-12-04 | |
https://github.com/Rubikcuv5/CVE-2023-25157 | 2023-07-31 |
URL | Date | SRC |
---|---|---|
https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d | 2023-11-07 |
URL | Date | SRC |
---|---|---|
https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf | 2023-11-07 |
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
|