CVE-2023-51444

GeoServer arbitrary file upload vulnerability in REST Coverage Store API

Published Mar 20, 2024 CVSS 3.1 · 7.2 High EPSS 1.9% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0890 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.
Github GHSA Github GHSA GHSA-9v5q-2gwq-q9hq Arbitrary file upload vulnerability in GeoServer's REST Coverage Store API
History
Type Values Removed Values Added
Metrics epss

{'score': 0.03868}

epss

{'score': 0.0284}

Type Values Removed Values Added
First Time appeared Geoserver
Geoserver geoserver
CPEs cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
cpe:2.3:a:geoserver:geoserver:2.24.0:*:*:*:*:*:*:*
Vendors & Products Geoserver
Geoserver geoserver
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 21, 2024, 2:35 PM
Reserved
Dec 19, 2023, 1:52 PM
Status
Analyzed
Published
Mar 20, 2024, 3:15 PM
Modified
Jun 17, 2026, 6:40 AM