Vulnerability · Published Mar 20, 2024 · Assigned by GitHub_M

CVE-2023-51444GeoServer arbitrary file upload vulnerability in REST Coverage Store API

High 7.2

In plain English

A high-severity improper input validation in geoserver from geoserver. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)1.9%top 20.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.geoserver:gs-platform2.23.4GHSA-9v5q-2gwq-q9hq
Mavenorg.geoserver:gs-platform2.24.1GHSA-9v5q-2gwq-q9hq
Mavenorg.geoserver:gs-restconfig2.23.4GHSA-9v5q-2gwq-q9hq
Mavenorg.geoserver:gs-restconfig2.24.1GHSA-9v5q-2gwq-q9hq

Affected products (as reported)

VendorProductVersions
geoserver geoserver < 2.23.4= 2.24.0

Weakness: CWE-20, CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References