CVE-2023-51444
GeoServer arbitrary file upload vulnerability in REST Coverage Store API
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. An arbitrary file upload vulnerability exists in versions prior to 2.23.4 and 2.24.1 that enables an authenticated administrator with permissions to modify coverage stores through the REST Coverage Store API to upload arbitrary file contents to arbitrary file locations which can lead to remote code execution. Coverage stores that are configured using relative paths use a GeoServer Resource implementation that has validation to prevent path traversal but coverage stores that are configured using absolute paths use a different Resource implementation that does not prevent path traversal. This vulnerability can lead to executing arbitrary code. An administrator with limited privileges could also potentially exploit this to overwrite GeoServer security files and obtain full administrator privileges. Versions 2.23.4 and 2.24.1 contain a fix for this issue.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2023-12-19 CVE Reserved
- 2024-03-20 CVE Published
- 2024-03-21 EPSS Updated
- 2024-08-21 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
- CWE-434: Unrestricted Upload of File with Dangerous Type
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://github.com/geoserver/geoserver/commit/ca683170c669718cb6ad4c79e01b0451065e13b8 | X_refsource_misc | |
https://github.com/geoserver/geoserver/commit/fe235b3bb1d7f05751a4a2ef5390c36f5c9e78ae | X_refsource_misc | |
https://github.com/geoserver/geoserver/pull/7222 | X_refsource_misc | |
https://github.com/geoserver/geoserver/security/advisories/GHSA-9v5q-2gwq-q9hq | X_refsource_confirm | |
https://osgeo-org.atlassian.net/browse/GEOS-11176 | X_refsource_misc |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Geoserver Search vendor "Geoserver" | Geoserver Search vendor "Geoserver" for product "Geoserver" | < 2.23.4 Search vendor "Geoserver" for product "Geoserver" and version " < 2.23.4" | en |
Affected
| ||||||
Geoserver Search vendor "Geoserver" | Geoserver Search vendor "Geoserver" for product "Geoserver" | 2.24.0 Search vendor "Geoserver" for product "Geoserver" and version "2.24.0" | en |
Affected
|