CVE-2023-43795: Gs wps core WPS Server Side Request Forgery Vulnerability
HIGHCVE-2023-43795 is a HIGH (CVSS 8.6) wps server side request forgery vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Gs wps core libraries in the Maven ecosystem. The issue involves wps server side request forgery vulnerability. Remediation is available by upgrading affected packages to version 2.22.5, 2.23.2.
CVE-2023-43795 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L).
How to Fix CVE-2023-43795
To remediate this vulnerability, upgrade all affected Gs wps core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-wps-core</artifactId>
<version>2.22.5</version>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-wps-core</artifactId>
<version>2.23.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.geoserver.extension
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-43795, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.geoserver.extension
Analyze the terminal output to locate any version of Gs wps core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.22.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.geoserver.extension command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Gs wps core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-43795 Affected Gs wps core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.geoserver.extension:gs-wps-core
|
Maven |
< 2.22.5
|
2.22.5
|
|
org.geoserver.extension:gs-wps-core
|
Maven |
≥ 2.23.0
< 2.23.2
|
2.23.2
|
References
Frequently Asked Questions
What is CVE-2023-43795?
Which Gs wps core versions are affected?
What version fixes CVE-2023-43795?
Is gs-wps-core affected?
What is the CVSS score of CVE-2023-43795?
What CWE is associated with CVE-2023-43795?
How can I check Maven dependencies for CVE-2023-43795?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5pr3-m5hm-9956",
"modified" : "2023-10-27T21:04:48Z",
"published" : "2023-10-24T19:21:02Z",
"aliases" : [ "CVE-2023-43795" ],
"summary" : "WPS Server Side Request Forgery vulnerability",
"details" : "### Summary\n\nThe OGC Web Processing Service (WPS) specification is designed to process information from any server using GET and POST requests.\n\nThis presents the opportunity for Server Side Request Forgery.\n\n## Details\n\nThis vulnerability requires:\n\n* The WPS extension to be installed\n* The WPS security setting \"Disable complex inputs\" to be unselected\n* Security URL checks to be disabled\n\n### Impact\n\nThis vulnerability presents the opportunity for Server Side Request Forgery.\n\n### Mitigation\n\nThe 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.\n\nTo disable complex remote inputs on GeoServer 2.20.5 and GeoServer 2.21.0:\n\n1. Navigate to **Security > WPS Security** page\n2. Locate **Complex Inputs** heading\n3. Select the check box for **Disable loading complex inputs from remote references**\n\n### Resolution\n\nTo allow processing of complex inputs safely in GeoServer 2.22.5 and GeoServer 2.23.2:\n\n1. Navigate to **Security > URL Checks**\n2. Enable **URL Checks** are enabled setting\n3. Check the user manual for [examples](https://docs.geoserver.org/latest/en/user/security/urlchecks.html#example-regex-patterns) of how to trust specific locations for your external services.\n\nProcessing of complex inputs safely is on by default in GeoServer 2.24.0.\n\n### References\n\n* [Complex Inputs](https://docs.geoserver.org/stable/en/user/services/wps/security.html#complex-inputs)\n* [URL Checks](https://docs.geoserver.org/latest/en/user/security/urlchecks.html)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.extension:gs-wps-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.22.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.extension:gs-wps-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.23.0"
}, {
"fixed" : "2.23.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/geoserver/geoserver/security/advisories/GHSA-5pr3-m5hm-9956"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-43795"
}, {
"type" : "WEB",
"url" : "https://docs.geoserver.org/latest/en/user/security/urlchecks.html"
}, {
"type" : "WEB",
"url" : "https://docs.geoserver.org/stable/en/user/services/wps/security.html#complex-inputs"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/geoserver/geoserver"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-24T19:21:02Z",
"nvd_published_at" : "2023-10-25T18:17:32Z"
}
}