mirror of
https://github.com/netbirdio/advisory-database.git
synced 2026-05-22 18:04:22 -07:00
Publish GHSA-r4hf-r8gj-jgw2
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"schema_version": "1.4.0",
|
||||
"id": "GHSA-r4hf-r8gj-jgw2",
|
||||
"modified": "2025-06-10T14:14:59Z",
|
||||
"published": "2025-06-10T14:14:59Z",
|
||||
"aliases": [
|
||||
"CVE-2024-40625"
|
||||
],
|
||||
"summary": "Coverage REST API Server Side Request Forgery",
|
||||
"details": "### Summary\n\nThe Coverage rest api `/workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format}` allow to upload file with a specified url (with {method} equals 'url') with no restrict.\n\n### Details\n\nThe 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).\n\nFor example, should add the code below to check fileURL:\n\n```java\nURLCheckers.confirm(fileURL)\n```\n\nThe vulnerable code was [RESTUtils.java](https://github.com/geoserver/geoserver/blob/main/src/rest/src/main/java/org/geoserver/rest/util/RESTUtils.java#L176)\n\n### Impact\n\nThis vulnerability presents the opportunity for Server Side Request Forgery.\n\n### References\n\n- https://osgeo-org.atlassian.net/browse/GEOS-11468\n- https://osgeo-org.atlassian.net/browse/GEOS-11717",
|
||||
"severity": [
|
||||
{
|
||||
"type": "CVSS_V3",
|
||||
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L"
|
||||
}
|
||||
],
|
||||
"affected": [
|
||||
{
|
||||
"package": {
|
||||
"ecosystem": "Maven",
|
||||
"name": "org.geoserver:gs-rest"
|
||||
},
|
||||
"ranges": [
|
||||
{
|
||||
"type": "ECOSYSTEM",
|
||||
"events": [
|
||||
{
|
||||
"introduced": "0"
|
||||
},
|
||||
{
|
||||
"fixed": "2.26.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"package": {
|
||||
"ecosystem": "Maven",
|
||||
"name": "org.geoserver.web:gs-web-app"
|
||||
},
|
||||
"ranges": [
|
||||
{
|
||||
"type": "ECOSYSTEM",
|
||||
"events": [
|
||||
{
|
||||
"introduced": "0"
|
||||
},
|
||||
{
|
||||
"fixed": "2.26.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://github.com/geoserver/geoserver/security/advisories/GHSA-r4hf-r8gj-jgw2"
|
||||
},
|
||||
{
|
||||
"type": "PACKAGE",
|
||||
"url": "https://github.com/geoserver/geoserver"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://osgeo-org.atlassian.net/browse/GEOS-11468"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://osgeo-org.atlassian.net/browse/GEOS-11717"
|
||||
}
|
||||
],
|
||||
"database_specific": {
|
||||
"cwe_ids": [
|
||||
"CWE-918"
|
||||
],
|
||||
"severity": "MODERATE",
|
||||
"github_reviewed": true,
|
||||
"github_reviewed_at": "2025-06-10T14:14:59Z",
|
||||
"nvd_published_at": null
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user