MODERATE 4.6

CVE-2023-6927

keycloak-core: open redirect via "form_post.jwt" JARM response mode

Description

An incomplete fix was found in Keycloak Core patch. An attacker can steal authorization codes or tokens from clients using a wildcard in the JARM response mode "form_post.jwt". It is observed that changing the response_mode parameter in the original proof of concept from "form_post" to "form_post.jwt" can bypass the security patch implemented to address CVE-2023-6134.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.keycloak » keycloak-core
< 23.0.4
23.0.4

Blast radius

1affected artifacts
263affected versions
1,486dependent artifacts (est.)
50,371dependent versions

65% of the dependent artifacts (974) still pull an affected version in their latest release.

DepthDependent versions
Direct
12,499
2 hops
17,232
3 hops
13,521
4 hops
3,921
5 hops
2,589
6 hops
609

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webbugzilla.redhat.com