CVE-2024-23634 json
GeoServer arbitrary file renaming vulnerability in REST Coverage/Data Store API
published 2024-03-20 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0853 , GHSA-75m5-hh4r-q9gx
- cvss
- 6.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.geoserver:gs-restconfig 2.23.5, 2.24.2
- org.geoserver gs-restconfig 2.23.5, 2.24.2
- github.com/geoserver/geoserver@5d6af2f commit
- github.com/geoserver/geoserver@c37f58f commit
- github.com/geoserver/geoserver#7289 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/geoserver/geoserver/security/advisories/GHSA-75m5-hh4r-q9gx referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.0 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H |
| GitHub | 3.1 | 6.0 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H |
| NVD | 3.1 | 6.0 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.geoserver:gs-restconfig | <2.23.5 >=2.24.0, <2.24.2 |
2.23.5 2.24.2 |
Affected products
- geoserver geoserver
Classification
References
-
github.com
/geoserver/geoserver/pull/7289
web, issue-tracking
-
github.com
/geoserver/geoserver/commit/5d6af2f8ba9ad7dffae59575504a867159698772
web, patch
-
github.com
/geoserver/geoserver/commit/c37f58fbacdfa0d581a6f99195585f70b1201f0a
web, patch
-
github.com
/geoserver/geoserver/security/advisories/GHSA-75m5-hh4r-q9gx
web, exploit, vendor-advisory
-
osgeo-org.atlassian.net
/browse/GEOS-11213
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2024-23634
advisory
-
github.com
/geoserver/geoserver
package
Sources
- CVE List CVE-2024-23634
- GitHub Advisory GHSA-75m5-hh4r-q9gx
- NVD CVE-2024-23634
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.