Skip to main content
← All vulnerabilities
CVE-2023-51444GHSA-9V5Q-2GWQ-Q9HQ

GeoServer arbitrary file upload vulnerability in REST Coverage Store API

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.23.4, 2.24.1
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • geoserver geoserver

    fixed in 2.23.4

  • org.geoserver:gs-platformMaven

    fixed in 2.23.4

  • org.geoserver:gs-restconfigMaven

    fixed in 2.23.4

  • org.geoserver:gs-platformMaven

    From 2.24.0 · fixed in 2.24.1

  • org.geoserver:gs-restconfigMaven

    From 2.24.0 · fixed in 2.24.1

References 6

GitHub · geoserver/geoserver

osgeo-org.atlassian.net

GitHub · iPlayForSG/CVE-2023-51444