Описание
A flaw was found in SSSD's IdP authentication provider. The eval_access_token_buf() function compares the OIDC subject identifier using strncmp() with the authenticated user's identifier length, performing a prefix comparison instead of an exact match. An attacker whose IdP identifier is a strict prefix of a target user's identifier can authenticate as the target user.
Пакеты
| Пакет | Статус | Версия исправления | Релиз | Тип |
|---|---|---|---|---|
| sssd | fixed | 2.13.1-5 | package | |
| sssd | not-affected | trixie | package | |
| sssd | not-affected | bookworm | package |
Примечания
https://bugzilla.redhat.com/show_bug.cgi?id=2530888
https://github.com/SSSD/sssd/pull/9250
Fixed by: https://github.com/SSSD/sssd/commit/f3a324918c1a35bd0195a1de5b17897a0d3b6274 (master)
Fixed by: https://github.com/SSSD/sssd/commit/8180e70a2708dbf8ac6f089119922dec81fcc503 (sssd-2-13)
Fixed by: https://github.com/SSSD/sssd/commit/542411bb0b6e4171d9183fbf364d6cb52d848ad5 (sssd-2-12)
IDP support introduced by: https://github.com/SSSD/sssd/commit/cf3a1d85ec97e7103badcdcf9e41023f1a71ebb0 (2.11.0)
EPSS
Связанные уязвимости
A flaw was found in SSSD's IdP authentication provider. The eval_access_token_buf() function compares the OIDC subject identifier using strncmp() with the authenticated user's identifier length, performing a prefix comparison instead of an exact match. An attacker whose IdP identifier is a strict prefix of a target user's identifier can authenticate as the target user.
A flaw was found in SSSD's IdP authentication provider. The eval_access_token_buf() function compares the OIDC subject identifier using strncmp() with the authenticated user's identifier length, performing a prefix comparison instead of an exact match. An attacker whose IdP identifier is a strict prefix of a target user's identifier can authenticate as the target user.
A flaw was found in SSSD's IdP authentication provider. The eval_access_token_buf() function compares the OIDC subject identifier using strncmp() with the authenticated user's identifier length, performing a prefix comparison instead of an exact match. An attacker whose IdP identifier is a strict prefix of a target user's identifier can authenticate as the target user.
EPSS