CVE-2023-51444

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductGeoserver
PublishedMar 20, 2024
First seenMar 20, 2024

How to fix

Update
  • geoserver geoserver2.23.4 or later
  • org.geoserver:gs-platform2.23.4, 2.24.1 or later
  • org.geoserver:gs-restconfig2.23.4, 2.24.1 or later

Affected products

ProductAffected versionsFixed in
geoserver geoserverv < 2.23.4, 2.24.02.23.4
org.geoserver:gs-platformMavenv < 2.23.4, 2.24.0 ≤ v < 2.24.12.23.4, 2.24.1
org.geoserver:gs-restconfigMavenv < 2.23.4, 2.24.0 ≤ v < 2.24.12.23.4, 2.24.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.