9.8
CRITICAL
CVE-2023-25157
GeoServer Multiple Input Validation Vulnerabilities
Description

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.

INFO

Published Date :

Feb. 21, 2023, 10:15 p.m.

Last Modified :

Nov. 7, 2023, 4:08 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-25157 has a 17 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-25157 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Osgeo geoserver
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-25157.

URL Resource
https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d Patch
https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Latest CVEs with their Proof of Concept exploits.

Python

Updated: 1 week, 4 days ago
5 stars 1 fork 1 watcher
Born at : May 24, 2024, 11:02 a.m. This repo has been linked 78 different CVEs too.

None

Updated: 7 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 26, 2024, 10:07 a.m. This repo has been linked 161 different CVEs too.

Geoserver SQL Injection Exploit

cql cve-2023-25157 exploit geoserver geotools posgresql postgres python python3 sql sqli rce rce-exploit vulner vulnerability-detection vulnerability-scanners

Python

Updated: 7 months, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : Nov. 28, 2023, 7:23 a.m. This repo has been linked 2 different CVEs too.

None

Shell

Updated: 11 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : Sept. 21, 2023, 6:28 a.m. This repo has been linked 2 different CVEs too.

GeoServer OGC Filter SQL Injection Vulnerabilities

Python

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 31, 2023, 3:10 a.m. This repo has been linked 1 different CVEs too.

A script, written in golang. POC for CVE-2023-25157

Go

Updated: 1 year ago
3 stars 0 fork 0 watcher
Born at : June 12, 2023, 2:34 p.m. This repo has been linked 1 different CVEs too.

GeoServer & GeoTools SQL Injection (CVE-2023-25157 & CVE-2023-25158)

Updated: 2 months, 1 week ago
14 stars 3 fork 3 watcher
Born at : June 11, 2023, 6:57 p.m. This repo has been linked 2 different CVEs too.

None

Python Shell

Updated: 11 months, 3 weeks ago
12 stars 0 fork 0 watcher
Born at : June 10, 2023, 9 a.m. This repo has been linked 1 different CVEs too.

CVE-2023-25157 - GeoServer SQL Injection - PoC

Python

Updated: 2 weeks ago
162 stars 32 fork 32 watcher
Born at : June 6, 2023, 2:05 p.m. This repo has been linked 1 different CVEs too.

A list of dorks for the Netlas.io search engine, with which you can find millions of objects in the boundless IoE. Contains queries to search for IoT elements, protocols, communication tools, remote access, and more. Over time, the list will grow.

osint penetration-testing security-tools

Updated: 1 week, 5 days ago
173 stars 20 fork 20 watcher
Born at : April 17, 2023, 10:27 a.m. This repo has been linked 64 different CVEs too.

None

Shell

Updated: 1 week, 5 days ago
3 stars 2 fork 2 watcher
Born at : March 23, 2023, 4:32 a.m. This repo has been linked 435 different CVEs too.

None

Shell

Updated: 1 week, 5 days ago
1 stars 0 fork 0 watcher
Born at : March 19, 2023, 1:53 a.m. This repo has been linked 265 different CVEs too.

POC集合,框架nday漏洞利用

Updated: 2 weeks, 1 day ago
373 stars 49 fork 49 watcher
Born at : April 4, 2022, 5:54 a.m. This repo has been linked 105 different CVEs too.

TOP All bugbounty pentesting CVE-2023- POC Exp RCE example payload Things

bugbounty cve exp exploit payload poc rce vulnerability

Shell

Updated: 1 week, 5 days ago
647 stars 116 fork 116 watcher
Born at : March 19, 2022, 1:54 a.m. This repo has been linked 273 different CVEs too.

一个Vulhub漏洞复现知识库

vulnerability exploit

Updated: 1 week, 6 days ago
448 stars 87 fork 87 watcher
Born at : March 3, 2022, 8:38 a.m. This repo has been linked 171 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-25157 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-25157 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description 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. 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.
  • Initial Analysis by [email protected]

    Mar. 03, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d No Types Assigned https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d Patch
    Changed Reference Type https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf No Types Assigned https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf Vendor Advisory
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions up to (excluding) 2.18.7 *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions from (including) 2.19.0 up to (excluding) 2.19.7 *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions from (including) 2.20.0 up to (excluding) 2.20.7 *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions from (including) 2.21.0 up to (excluding) 2.21.4 *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions from (including) 2.22.0 up to (excluding) 2.22.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-25157 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

68.06 }} -3.47%

score

0.98032

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability