| عنوان | django-oauth django-oauth-toolkit 3.3.0 at commit ddec25b491e52d7f4a1e2cf13a436ffddcf6c782 CWE-613 Insufficient Session Expiration / CWE-287 Improper Authe |
|---|
| الوصف | django-oauth-toolkit 3.3.0 conditionally accepts expired ID tokens for OpenID Connect RP-initiated logout. When RP-initiated logout is enabled, the default OIDC_RP_INITIATED_LOGOUT_ACCEPT_EXPIRED_TOKENS=True makes _load_id_token() construct the JWT with an empty check_claims dictionary, explicitly skipping validation of exp and nbf. validate_logout_request_user() then uses the loaded IDToken for logout validation and client matching. This issue is conditional because RP-initiated logout must be enabled by the deployment. If enabled with the default expired-token option, stale id_token_hint values can participate in logout and token deletion flows after their intended validity period. Remediation should default expired-token acceptance to false or enforce a separate maximum acceptable ID token age for logout hints. |
|---|
| المصدر | ⚠️ https://github.com/django-oauth/django-oauth-toolkit/issues/1715 |
|---|
| المستخدم | Galaxyn (UID 98388) |
|---|
| ارسال | 13/06/2026 12:54 PM (1 شهر منذ) |
|---|
| الاعتدال | 18/07/2026 10:23 AM (1 month later) |
|---|
| الحالة | مكرر |
|---|
| إدخال VulDB | 380022 [django-oauth django-oauth-toolkit 3.3.0 oauth2_validators.py _load_id_token توثيق ضعيف] |
|---|
| النقاط | 0 |
|---|