CVE-2024-40625: GeoServer Coverage REST API Allows Server Side Request Forgery

Published Jun 10, 2025
·
Updated

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:

java 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

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
maven/org.geoserver.web:gs-web-app<2.26.0
2.26.0
maven/org.geoserver:gs-rest<2.26.0
2.26.0
OSGeo GeoServer<2.26.0

Event History

Jun 10, 2025
Advisory Published
via GitHub·02:14 PM
Data Sourced
via GitHub·02:14 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·02:49 PM
Data Sourced
via MITRE·02:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-40625?

CVE-2024-40625 has been classified with a significant severity level due to its potential for unrestricted file uploads.

2

How do I fix CVE-2024-40625?

To fix CVE-2024-40625, upgrade to versions of the affected packages higher than 2.26.0 that contain the security patch.

3

What software is affected by CVE-2024-40625?

CVE-2024-40625 affects the org.geoserver.web:gs-web-app and org.geoserver:gs-rest packages, specifically versions below 2.26.0.

4

What is the impact of CVE-2024-40625?

The impact of CVE-2024-40625 includes the potential for attackers to exploit unrestricted file uploads, leading to data breaches or system compromises.

5

Is there a workaround for CVE-2024-40625?

While the recommended solution is to upgrade, a temporary workaround may involve restricting access to the API endpoints until a secure version is deployed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203