CVE-2023-51444

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

Configuration 1 (hide)

OR cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
cpe:2.3:a:geoserver:geoserver:2.24.0:*:*:*:*:*:*:*

History

18 Dec 2024, 21:58

Type Values Removed Values Added
CPE cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
cpe:2.3:a:geoserver:geoserver:2.24.0:*:*:*:*:*:*:*
References () https://github.com/geoserver/geoserver/commit/ca683170c669718cb6ad4c79e01b0451065e13b8 - () https://github.com/geoserver/geoserver/commit/ca683170c669718cb6ad4c79e01b0451065e13b8 - Patch
References () https://github.com/geoserver/geoserver/commit/fe235b3bb1d7f05751a4a2ef5390c36f5c9e78ae - () https://github.com/geoserver/geoserver/commit/fe235b3bb1d7f05751a4a2ef5390c36f5c9e78ae - Patch
References () https://github.com/geoserver/geoserver/pull/7222 - () https://github.com/geoserver/geoserver/pull/7222 - Issue Tracking
References () https://github.com/geoserver/geoserver/security/advisories/GHSA-9v5q-2gwq-q9hq - () https://github.com/geoserver/geoserver/security/advisories/GHSA-9v5q-2gwq-q9hq - Exploit, Vendor Advisory
References () https://osgeo-org.atlassian.net/browse/GEOS-11176 - () https://osgeo-org.atlassian.net/browse/GEOS-11176 - Issue Tracking
First Time Geoserver
Geoserver geoserver

Information

Published : 2024-03-20 15:15

Updated : 2024-12-18 21:58


NVD link : CVE-2023-51444

Mitre link : CVE-2023-51444

CVE.ORG link : CVE-2023-51444


JSON object : View

Products Affected

geoserver

  • geoserver
CWE
CWE-20

Improper Input Validation

CWE-434

Unrestricted Upload of File with Dangerous Type