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.
Remediation
References
Related Vulnerabilities
WordPress Plugin Elementor Website Builder Arbitrary File Upload (3.6.2)
WordPress Plugin Ultimate FAQ Cross-Site Scripting (1.8.29)
Grafana Incorrect Permission Assignment for Critical Resource Vulnerability (CVE-2021-27962)
MediaWiki Incorrect Authorization Vulnerability (CVE-2023-22945)
IBM WebSEAL Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2018-1805)