CVE-2020-10770 in redhat keycloak
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
A flaw was found in Keycloak before 13.0.0, where it is possible to force the server to call out an unverified URL using the OIDC parameter request_uri. This flaw allows an attacker to use this parameter to execute a Server-side request forgery (SSRF) attack.
Affected software: redhat keycloak
Scores
- CVSS: 5.3 (medium)
- EPSS: 69.72% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2020-12-15
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade Keycloak to 13.0.0 or later
Patch or upgrade. Keycloak 13.0.0 stops fetching unverified request_uri values, which closes the server-side request forgery in the OIDC auth endpoint (CVE-2020-10770).
Applies to: Keycloak before 13.0.0 and matching Red Hat Single Sign-On releases.
- Check the Keycloak version in the admin console under Server Info.
- Back up the Keycloak database.
- Upgrade Keycloak (or Red Hat SSO) to 13.0.0 or a current release.
- Until then, strip or block the request_uri parameter on /protocol/openid-connect/auth at the reverse proxy.
- Rerun the vulnerability scan and confirm CVE-2020-10770 is no longer reported.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.