5.5medium
GeoServer Coverage REST API Allows Server Side Request Forgery
- Severity
- 5.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.39% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r4hf-r8gj-jgw2
Description
GeoServer is an open source server that allows users to share and edit geospatial data. The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allows attackers to upload files with a specified url (with {method} equals 'url') with no restrict. This vulnerability is fixed in 2.26.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| geoserver geoserver | < 2.26.0 | CVE List |
| org.geoserver:gs-rest (Maven) | before 2.26.0 | GitHub Advisory Database |
| org.geoserver.web:gs-web-app (Maven) | before 2.26.0 | GitHub Advisory Database |
| osgeo geoserver | before 2.26.0 | NVD |
All scores
| GitHub_M | 5.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L |
| GitHub | 5.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L |
| NVD | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
GeoServer is an open source server that allows users to share and edit geospatial data. The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allows attackers to upload files with a specified url (with {method} equals 'url') with no restrict. This vulnerability is fixed in 2.26.0.
GitHub Advisory Database
Summary
The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allow to upload file with a specified url (with {method} equals 'url') with no restrict.
Details
The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allow to upload file with a specified url (with {method} equals 'url'). But this url has not been check with URL Checks feature.
For example, should add the code below to check fileURL:
URLCheckers.confirm(fileURL)
The vulnerable code was RESTUtils.java
Impact
This vulnerability presents the opportunity for Server Side Request Forgery.
References
NVD (es)
GeoServer es un servidor de código abierto que permite a los usuarios compartir y editar datos geoespaciales. La API REST de Coverage /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} permite a los atacantes cargar archivos con una URL específica (donde {method} equivale a 'url') sin restricciones. Esta vulnerabilidad se corrigió en la versión 2.26.0.
References
| https://github.com/geoserver/geoserver/security/advisories/GHSA-r4hf-r8gj-jgw2 | third-party-advisory, web | |
| https://osgeo-org.atlassian.net/browse/GEOS-11468 | issue-tracking, patch, web | |
| https://osgeo-org.atlassian.net/browse/GEOS-11717 | permissions-required, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-40625 | advisory | |
| https://github.com/geoserver/geoserver | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-40625 changed 2025-06-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r4hf-r8gj-jgw2 changed 2025-06-10 | CC-BY-4.0 |
| NVD | CVE-2024-40625 changed 2026-06-17 | Public domain |