GHSA-5pr3-m5hm-9956

Suggest an improvement
Source
https://github.com/advisories/GHSA-5pr3-m5hm-9956
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-5pr3-m5hm-9956/GHSA-5pr3-m5hm-9956.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5pr3-m5hm-9956
Aliases
Published
2023-10-24T19:21:02Z
Modified
2023-11-08T04:13:33.084028Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L CVSS Calculator
Summary
WPS Server Side Request Forgery vulnerability
Details

Summary

The OGC Web Processing Service (WPS) specification is designed to process information from any server using GET and POST requests.

This presents the opportunity for Server Side Request Forgery.

Details

This vulnerability requires:

  • The WPS extension to be installed
  • The WPS security setting "Disable complex inputs" to be unselected
  • Security URL checks to be disabled

Impact

This vulnerability presents the opportunity for Server Side Request Forgery.

Mitigation

The ability to reference an external URL location is defined by the WPS standard Execute operation. This operations is defined by an Industry and International standard and cannot be redefined by the GeoServer application in isolation.

To disable complex remote inputs on GeoServer 2.20.5 and GeoServer 2.21.0:

  1. Navigate to Security > WPS Security page
  2. Locate Complex Inputs heading
  3. Select the check box for Disable loading complex inputs from remote references

Resolution

To allow processing of complex inputs safely in GeoServer 2.22.5 and GeoServer 2.23.2:

  1. Navigate to Security > URL Checks
  2. Enable URL Checks are enabled setting
  3. Check the user manual for examples of how to trust specific locations for your external services.

Processing of complex inputs safely is on by default in GeoServer 2.24.0.

References

Database specific
{
    "nvd_published_at": "2023-10-25T18:17:32Z",
    "cwe_ids": [
        "CWE-918"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-24T19:21:02Z"
}
References

Affected packages

Maven / org.geoserver.extension:gs-wps-core

Package

Name
org.geoserver.extension:gs-wps-core
View open source insights on deps.dev
Purl
pkg:maven/org.geoserver.extension/gs-wps-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.22.5

Maven / org.geoserver.extension:gs-wps-core

Package

Name
org.geoserver.extension:gs-wps-core
View open source insights on deps.dev
Purl
pkg:maven/org.geoserver.extension/gs-wps-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.23.0
Fixed
2.23.2