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. 21, 2024, 7:49 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-25157 has a 20 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 Geoserver geoserver
1 Osgeo geoserver
References to Advisories, Solutions, and Tools

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).

A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities

attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc

Updated: 2 weeks, 4 days ago
1 stars 2 fork 2 watcher
Born at : Nov. 17, 2024, 11:53 a.m. This repo has been linked 414 different CVEs too.

None

HTML

Updated: 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 18, 2024, 3:05 a.m. This repo has been linked 5 different CVEs too.

None

JavaScript

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 9, 2024, 3:16 p.m. This repo has been linked 6 different CVEs too.

这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目

HTML

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : Sept. 20, 2024, 3:27 a.m. This repo has been linked 210 different CVEs too.

Latest CVEs with their Proof of Concept exploits.

Python

Updated: 2 weeks, 2 days ago
11 stars 2 fork 2 watcher
Born at : May 24, 2024, 11:02 a.m. This repo has been linked 77 different CVEs too.

None

Updated: 2 weeks, 6 days ago
2 stars 1 fork 1 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: 3 months, 1 week ago
2 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: 1 year, 3 months 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, 4 months 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, 3 months 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: 5 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: 1 year, 2 months ago
12 stars 1 fork 1 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, 6 days ago
166 stars 33 fork 33 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: 3 weeks, 5 days ago
182 stars 22 fork 22 watcher
Born at : April 17, 2023, 10:27 a.m. This repo has been linked 65 different CVEs too.

None

Shell

Updated: 2 weeks, 2 days ago
3 stars 2 fork 2 watcher
Born at : March 23, 2023, 4:32 a.m. This repo has been linked 267 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d
    Added Reference https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf
  • 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.

54.61 }} 12.14%

score

0.97754

percentile

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