Skip to content
OpenAdvisories
Medium · 5.3 Scanner template Public exploit CVE-2020-10770 EUVD-2022-4372GHSA-jh7q-5mwf-qvhw

Keycloak vulnerable to Server-Side Request Forgery

Published Dec 15, 2020 · Updated Aug 4, 2024 · Assigned by redhat

Description

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 products

VendorProductAffectedFixed
— keycloak keycloak 13.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 9.0.11-1.redhat_00001.1.el6sso RHSA-2021:0320, RHSA-2021:0319, RHSA-2021:0318

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-core < 13.0.0 13.0.0 GHSA-jh7q-5mwf-qvhw

Advisories 3

References