| Advisory ID | github_osv/GHSA-r4hf-r8gj-jgw2 |
| Aliases |
CVE-2024-40625
|
| Summary | Coverage REST API Server Side Request Forgery ### 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](https://docs.geoserver.org/latest/en/user/security/urlchecks.html#url-checks). For example, should add the code below to check fileURL: ```java URLCheckers.confirm(fileURL) ``` The vulnerable code was [RESTUtils.java](https://github.com/geoserver/geoserver/blob/main/src/rest/src/main/java/org/geoserver/rest/util/RESTUtils.java#L176) ### Impact This vulnerability presents the opportunity for Server Side Request Forgery. ### References - https://osgeo-org.atlassian.net/browse/GEOS-11468 - https://osgeo-org.atlassian.net/browse/GEOS-11717 |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 5.0 |
| Risk | 2.5 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 5.5 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-r4hf-r8gj-jgw2/GHSA-r4hf-r8gj-jgw2.json |
| generic_textual | MODERATE |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/geoserver/geoserver | ||
| https://osgeo-org.atlassian.net/browse/GEOS-11468 | ||
| https://osgeo-org.atlassian.net/browse/GEOS-11717 | ||
| CVE-2024-40625 | https://nvd.nist.gov/vuln/detail/CVE-2024-40625 | |
| GHSA-r4hf-r8gj-jgw2 | https://github.com/geoserver/geoserver/security/advisories/GHSA-r4hf-r8gj-jgw2 |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-06-10T14:54:52Z/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2024/40xxx/CVE-2024-40625.json
Source Advisory: vulnrichment/CVE-2024-40625
[{'Exploitation': 'none'},
{'Automatable': 'no'},
{'Technical Impact': 'partial'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]