{"id":"CVE-2024-23634","published":"2024-03-20T15:22:41Z","modified":"2024-08-01T23:06:25Z","title":"GeoServer arbitrary file renaming vulnerability in REST Coverage/Data Store API","vendor":"geoserver","product":"geoserver","tier":"tail","description":{"text":"GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. An arbitrary file renaming vulnerability exists in versions prior to 2.23.5 and 2.24.2 that enables an authenticated administrator with permissions to modify stores through the REST Coverage Store or Data Store API to rename arbitrary files and directories with a name that does not end in `.zip`. Store file uploads rename zip files to have a `.zip` extension if it doesn't already have one before unzipping the file.  This is fine for file and url upload methods where the files will be in a specific subdirectory of the data directory but, when using the external upload method, this allows arbitrary files and directories to be renamed. Renaming GeoServer files will most likely result in a denial of service, either completely preventing GeoServer from running or effectively deleting specific resources (such as a workspace, layer or style).  In some cases, renaming GeoServer files could revert to the default settings for that file which could be relatively harmless like removing contact information or have more serious consequences like allowing users to make OGC requests that the customized settings would have prevented them from making. The impact of renaming non-GeoServer files depends on the specific environment although some sort of denial of service is a likely outcome. Versions 2.23.5 and 2.24.2 contain a fix for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00694,"percentile":0.53851,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-75m5-hh4r-q9gx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/geoserver/geoserver/pull/7289","tags":["x_refsource_MISC"]},{"url":"https://github.com/geoserver/geoserver/commit/5d6af2f8ba9ad7dffae59575504a867159698772","tags":["x_refsource_MISC"]},{"url":"https://github.com/geoserver/geoserver/commit/c37f58fbacdfa0d581a6f99195585f70b1201f0a","tags":["x_refsource_MISC"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11213","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.77},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"geoserver","affectedVersions":[{"vendor":"geoserver","product":"geoserver","versions":["< 2.23.5",">= 2.24.0, < 2.24.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-20T19:58:57.582171Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.geoserver:gs-restconfig","vulnerableRanges":["<2.23.5",">=2.24.0, <2.24.2"],"patched":["2.23.5","2.24.2"],"from":["GHSA-75m5-hh4r-q9gx"],"provenance":"source"}],"summary":{"text":"GeoServer, the Java-based open source geospatial data server, contains an arbitrary file renaming flaw in its REST Coverage Store and Data Store API, affecting versions before 2.23.5 and 2.24.2. An attacker who holds administrator credentials with permission to modify stores over the network can rename arbitrary files and directories whose names do not end in .zip when using the external upload method, most likely causing denial of service or reverting or disrupting GeoServer's configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:33Z"},"euvd":{"id":"EUVD-2024-0853","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-51445","published":"2024-03-20","fixed":"2.23.3","kev":false},{"cve":"CVE-2023-51444","published":"2024-03-20","fixed":"2.24.1","kev":false,"link":{"from":"CVE-2023-51444","to":"CVE-2024-23634","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.geoserver:gs-restconfig","fromFixed":"2.23.4","toFixed":"2.23.5","daysApart":0},{"kind":"similar","provenance":"machine","score":0.21,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2024-23634","published":"2024-03-20","fixed":"2.24.2","kev":false}],"package":"Maven:org.geoserver:gs-restconfig"}}