CVE-2023-25158
Unfiltered SQL Injection in Geotools
Severity Score
9.8
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
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.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2023-02-03 CVE Reserved
- 2023-02-21 CVE Published
- 2023-06-11 First Exploit
- 2024-08-02 CVE Updated
- 2024-09-13 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 (3)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/murataydemir/CVE-2023-25157-and-CVE-2023-25158 | 2023-06-11 |
URL | Date | SRC |
---|---|---|
https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b | 2023-03-02 |
URL | Date | SRC |
---|---|---|
https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m | 2023-03-02 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Geotools Search vendor "Geotools" | Geotools Search vendor "Geotools" for product "Geotools" | < 24.7 Search vendor "Geotools" for product "Geotools" and version " < 24.7" | - |
Affected
| ||||||
Geotools Search vendor "Geotools" | Geotools Search vendor "Geotools" for product "Geotools" | >= 25.0 < 25.7 Search vendor "Geotools" for product "Geotools" and version " >= 25.0 < 25.7" | - |
Affected
| ||||||
Geotools Search vendor "Geotools" | Geotools Search vendor "Geotools" for product "Geotools" | >= 26.0 < 26.7 Search vendor "Geotools" for product "Geotools" and version " >= 26.0 < 26.7" | - |
Affected
| ||||||
Geotools Search vendor "Geotools" | Geotools Search vendor "Geotools" for product "Geotools" | >= 27.0 < 27.4 Search vendor "Geotools" for product "Geotools" and version " >= 27.0 < 27.4" | - |
Affected
| ||||||
Geotools Search vendor "Geotools" | Geotools Search vendor "Geotools" for product "Geotools" | >= 28.0 < 28.2 Search vendor "Geotools" for product "Geotools" and version " >= 28.0 < 28.2" | - |
Affected
|