SecurityContext

CVE-2023-51444: GeoServer - Unrestricted File Upload

  • Cve: CVE-2023-51444
  • Name: GeoServer - Unrestricted File Upload
  • 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.
  • Impact: Attackers can execute arbitrary code or overwrite security files, potentially leading to full system compromise.
  • Remediation: Update to version 2.23.4 or 2.24.1.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, file_system_write
  • Requirement type: logged_in
  • Requirements: Attacker must be an authenticated administrator with permissions to modify coverage stores
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01867
  • Epss percentile: 0.79852
  • Assignee: [email protected]
  • Published at: 2024-03-20T15:15:07Z
  • Age in days: 979
  • Modified at: 2026-06-17T06:40:58Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-51444
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-20Improper Input Validation
CWE-434Unrestricted Upload of File with Dangerous Type

Public exploits

UrlSourceAdded date
https://github.com/geoserver/geoserver/security/advisories/GHSA-9v5q-2gwq-q9hqnvd2024-03-20
https://github.com/iPlayForSG/CVE-2023-51444poc-in-github2025-11-10

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/geoserver/geoserver/commit/ca683170c669718cb6ad4c79e01b0451065e13b8Patch
https://github.com/geoserver/geoserver/commit/fe235b3bb1d7f05751a4a2ef5390c36f5c9e78aePatch
https://github.com/geoserver/geoserver/security/advisories/GHSA-9v5q-2gwq-q9hqExploit, Vendor Advisory
https://github.com/geoserver/geoserver/pull/7222Issue Tracking
https://osgeo-org.atlassian.net/browse/GEOS-11176Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
geoserver:geoserver= 2.24.0, < 2.23.4nonvd/v1/products/geoserver/geoserver

Projects

RepositoryLink kindsIndexedUrl
geoserver/geoservercommit, fix, package, pull, security_advisoryyes/v1/repositories/geoserver/geoserver

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2024-03-20
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts