CVE-2023-25158
GeoTools OGC Filter SQL Injection
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.
Source :
[email protected]
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.
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
None
JavaScript
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
None
Shell
GeoServer & GeoTools SQL Injection (CVE-2023-25157 & CVE-2023-25158)
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
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
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:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-25158
weaknesses.
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