GeoServer arbitrary file renaming vulnerability in REST Coverage/Data Store API
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| geoserver | geoserver | before 2.23.5; 2.24.0 to before 2.24.2 | 2.23.5, 2.24.2 | Patch available | CNA |
| — | org.geoserver:gs-restconfig (Maven) | before 2.23.5 | 2.23.5 | Patch available | GHSA-75m5-hh4r-q9gx |
| — | org.geoserver:gs-restconfig (Maven) | 2.24.0 to before 2.24.2 | 2.24.2 | Patch available | GHSA-75m5-hh4r-q9gx |
- geoserver Vendorgeoserver Affected before 2.23.5; 2.24.0 to before 2.24.2 Fixed in 2.23.5, 2.24.2 Patch available CNA
- org.geoserver:gs-restconfig (Maven) Vendor— Affected before 2.23.5 Fixed in 2.23.5 Patch available GHSA-75m5-hh4r-q9gx
- org.geoserver:gs-restconfig (Maven) Vendor— Affected 2.24.0 to before 2.24.2 Fixed in 2.24.2 Patch available GHSA-75m5-hh4r-q9gx
Remediation
- Fix · CNA geoserver (geoserver) Fixed in 2.23.5, 2.24.2
- Fix · GHSA-75m5-hh4r-q9gx org.geoserver:gs-restconfig (Maven) Fixed in 2.23.5 Advisory →
- Fix · GHSA-75m5-hh4r-q9gx org.geoserver:gs-restconfig (Maven) Fixed in 2.24.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-23634
- 2026-10-03 Alias added: GHSA-75m5-hh4r-q9gx
References
Patch 2
More Geoserver vulnerabilities
- TI-2024-24187 Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver KEVCVSS 3.1CRITICAL 9.8
- TI-2025-36149 GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature KEVCVSS 3.1CRITICAL 9.8
- TI-2023-17518 GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code… CVSS 3.1CRITICAL 9.8
- TI-2023-28098 GeoServer arbitrary file upload vulnerability in REST Coverage Store API CVSS 3.1HIGH 7.2
- TI-2024-15662 GeoServer Stored Cross-Site Scripting (XSS) vulnerability in GWC Seed Form CVSS 3.1MEDIUM 4.8
- TI-2023-28099 GeoServer Stored Cross-Site Scripting (XSS) vulnerability in REST Resources API CVSS 3.1MEDIUM 4.8
Sources
- CVE-2024-23634 · CVE Program
- CVE-2024-23634 · NVD
- FIRST EPSS
- GHSA-75m5-hh4r-q9gx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences