{"id":"CVE-2023-51444","published":"2024-03-20T15:07:29Z","modified":"2024-08-21T14:35:24Z","title":"GeoServer arbitrary file upload vulnerability in REST Coverage 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 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01867,"percentile":0.79823,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-9v5q-2gwq-q9hq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/geoserver/geoserver/pull/7222","tags":["x_refsource_MISC"]},{"url":"https://github.com/geoserver/geoserver/commit/ca683170c669718cb6ad4c79e01b0451065e13b8","tags":["x_refsource_MISC"]},{"url":"https://github.com/geoserver/geoserver/commit/fe235b3bb1d7f05751a4a2ef5390c36f5c9e78ae","tags":["x_refsource_MISC"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11176","tags":["x_refsource_MISC"]}],"priority":{"score":26.0,"factors":[{"name":"EPSS percentile","points":15.96},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.04}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-11-10","earliestUrl":"https://github.com/iPlayForSG/CVE-2023-51444","repos":[{"name":"iPlayForSG/CVE-2023-51444","url":"https://github.com/iPlayForSG/CVE-2023-51444","stars":1,"created":"2025-11-10"}]},"first":{"date":"2025-11-10","source":"PoC-in-GitHub","url":"https://github.com/iPlayForSG/CVE-2023-51444"},"provenance":"source"},"vendorSlug":"geoserver","affectedVersions":[{"vendor":"geoserver","product":"geoserver","versions":["< 2.23.4","= 2.24.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-08-21T14:00:47.513580Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.geoserver:gs-platform","vulnerableRanges":["<2.23.4",">=2.24.0, <2.24.1"],"patched":["2.23.4","2.24.1"],"from":["GHSA-9v5q-2gwq-q9hq"],"provenance":"source"},{"ecosystem":"Maven","package":"org.geoserver:gs-restconfig","vulnerableRanges":["<2.23.4",">=2.24.0, <2.24.1"],"patched":["2.23.4","2.24.1"],"from":["GHSA-9v5q-2gwq-q9hq"],"provenance":"source"}],"summary":{"text":"The GeoServer product's REST Coverage Store API contains an arbitrary file upload flaw in versions prior to 2.23.4 and 2.24.1, where coverage stores configured with absolute paths bypass the path traversal validation applied to relative-path stores. An attacker who is an authenticated administrator with permission to modify coverage stores can write arbitrary file contents to arbitrary locations, which can lead to remote code execution, and an administrator with limited privileges could potentially overwrite GeoServer security files to gain full administrator rights.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:31Z"},"euvd":{"id":"EUVD-2024-0890","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-51445","published":"2024-03-20","fixed":"2.23.3","kev":false,"link":{"from":"CVE-2023-51445","to":"CVE-2023-51444","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.geoserver:gs-restconfig","fromFixed":"2.23.3","toFixed":"2.23.4","daysApart":0}]}},{"cve":"CVE-2023-51444","published":"2024-03-20","fixed":"2.24.1","kev":false},{"cve":"CVE-2024-23634","published":"2024-03-20","fixed":"2.24.2","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"}]}}],"package":"Maven:org.geoserver:gs-restconfig"}}