- Description
- A flaw was found in Keycloak's Dynamic Client Registration (DCR) security policy management. The "Allowed Protocol Mapper Types" policy, which restricts which types of data mappers a client can use, fails to re-validate the mapper type during a client update if the mapper's configuration remains unchanged. An attacker with client registration privileges can exploit this by first registering an allowed mapper type with a malicious configuration and then swapping it for a restricted, high-privilege mapper type (such as one that hardcodes administrative roles). This allows the attacker to gain full administrative access to the Keycloak realm.
- Source
- secalert@redhat.com
- NVD status
- Analyzed
- Products
- build_of_keycloak
CVSS 3.1
- Type
- Secondary
- Base score
- 8.8
- Impact score
- 5.9
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity
- HIGH
- secalert@redhat.com
- CWE-843
- Hype score
- Not currently trending
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*",
"matchCriteriaId": "713779EF-1701-47D7-8232-95B8EC42F3F6",
"versionEndExcluding": "26.4.14",
"versionStartIncluding": "26.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*",
"matchCriteriaId": "39CFDE24-0907-4B79-89FB-BB7CDC839597",
"versionEndExcluding": "26.6.5",
"versionStartIncluding": "26.6",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]