Description

GeoTools is an open source Java library that provides tools for geospatial data. GeoTools includes support for OGC Filter expression language parsing, encoding and execution against a range of datastore. SQL Injection Vulnerabilities have been found when executing OGC Filters with JDBCDataStore implementations. Users are advised to upgrade to either version 27.4 or to 28.2 to resolve this issue. Users unable to upgrade may disable `encode functions` for PostGIS DataStores or enable `prepared statements` for JDBCDataStores as a partial mitigation.

INFO

Published Date :

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

Last Modified :

March 2, 2023, 10:36 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-25158 has a 6 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-25158 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 Geotools geotools
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-25158.

URL Resource
https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b Patch
https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m Mitigation 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).

None

Updated: 1 month 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: 1 month, 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.

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: 9 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: 1 year, 2 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 & GeoTools SQL Injection (CVE-2023-25157 & CVE-2023-25158)

Updated: 4 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.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 2 months, 1 week ago
6375 stars 1107 fork 1107 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 904 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-25158 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-25158 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
  • Initial Analysis by [email protected]

    Mar. 02, 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/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b No Types Assigned https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b Patch
    Changed Reference Type https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m No Types Assigned https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m Mitigation, Vendor Advisory
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* versions up to (excluding) 24.7 *cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* versions from (including) 25.0 up to (excluding) 25.7 *cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* versions from (including) 26.0 up to (excluding) 26.7 *cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* versions from (including) 27.0 up to (excluding) 27.4 *cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* versions from (including) 28.0 up to (excluding) 28.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-25158 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.

0.18 }} -0.01%

score

0.55410

percentile

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