GHSA-r4hf-r8gj-jgw2MediumCVSS 5.5

Coverage REST API Server Side Request Forgery

Published
June 10, 2025
Last Modified
June 10, 2025

🔗 CVE IDs covered (1)

📋 Description

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

  • https://osgeo-org.atlassian.net/browse/GEOS-11468
  • https://osgeo-org.atlassian.net/browse/GEOS-11717

🎯 Affected products2

  • maven/org.geoserver:gs-rest:< 2.26.0
  • maven/org.geoserver.web:gs-web-app:< 2.26.0

🔗 References (5)