OAuth2:PKCE 可以被完全规避 (CVE-2023-48228)

admin 2023-11-29 18:09:28 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
OAuth2:PKCE 可以被完全规避 (CVE-2023-48228)

CVE编号

CVE-2023-48228

利用情况

暂无

补丁情况

N/A

披露时间

2023-11-22
漏洞描述
authentik是一个开源的身份提供/认证系统。在使用`code_challenge`和`code_method`(即请求PKCE)初始化oauth2流程时,单点登录提供者(authentik)必须在令牌步骤中检查是否存在匹配的`code_verifier`。在2023.10.4版本和2023.8.5版本之前,authentik只在提供`code_verifier`时检查其内容是否匹配。当完全省略`code_verifier`时,authentik仍接受带有令牌请求,即使流程是以`code_challenge`开始的。authentik 2023.8.5和2023.10.4修复了此问题。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/goauthentik/authentik/blob/dd4e9030b4e667d3720be2feda24c08...
https://github.com/goauthentik/authentik/commit/3af77ab3821fe9c7df8055ba5eade...
https://github.com/goauthentik/authentik/commit/6b9afed21f7c39f171a4a445654cf...
https://github.com/goauthentik/authentik/commit/b88e39411c12e3f9e04125a7887f1...
https://github.com/goauthentik/authentik/pull/7666
https://github.com/goauthentik/authentik/pull/7668
https://github.com/goauthentik/authentik/pull/7669
https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.4
https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.5
https://github.com/goauthentik/authentik/security/advisories/GHSA-fm34-v8xq-f2c3
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 goauthentik authentik * Up to (excluding) 2023.8.5
运行在以下环境
应用 goauthentik authentik * From (including) 2023.10.0 Up to (excluding) 2023.10.4
CVSS3评分 7.5
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 无
  • 保密性 无
  • 完整性 高
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CWE-ID 漏洞类型
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0