CVE-2023-43795: WPS Server Side Request Forgery in GeoServer
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
Complex Inputs URL Checks
Other sources
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. 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. This vulnerability has been patched in version 2.22.5 and 2.23.2.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-43795?
CVE-2023-43795 is a vulnerability in the OGC Web Processing Service (WPS) specification that allows for Server Side Request Forgery.
How does CVE-2023-43795 affect software?
CVE-2023-43795 affects the software that has the WPS extension installed, specifically versions 2.23.0 up to 2.23.2 or version 2.22.5.
What is the severity of CVE-2023-43795?
The severity of CVE-2023-43795 is high with a CVSS score of 8.6.
How can I fix CVE-2023-43795?
To fix CVE-2023-43795, update the affected software to version 2.23.2 if it is installed or version 2.22.5 if it is installed.
Where can I find more information about CVE-2023-43795?
You can find more information about CVE-2023-43795 in the following references: [Reference 1](https://github.com/geoserver/geoserver/security/advisories/GHSA-5pr3-m5hm-9956), [Reference 2](https://github.com/advisories/GHSA-5pr3-m5hm-9956)