【中危】openam-oauth2:权限控制风险(GHSA-4v2w-2wqp-mc85)
安全情报快照 · 风险级别:中危 · CVE-2026-48717 · GHSA-4v2w-2wqp-mc85
先看结论
openam-oauth2存在权限控制风险,<= 16.0.6 受影响,建议升级至 16.1.1。
影响范围
| 生态 | 组件 | 受影响版本 | 首个修复版本 |
|---|---|---|---|
| maven | org.openidentityplatform.openam:openam-oauth2 |
<= 16.0.6 | 16.1.1 |
处置建议
优先将 org.openidentityplatform.openam:openam-oauth2 升级至 16.1.1 或更高版本;升级前请结合业务依赖完成兼容性验证。
上游技术详情(原文)
Summary
Description
An Improper Authorization (CWE-285) issue in OpenAM's OAuth2 authorization-code grant allows a PKCE-protected authorization code to be redeemed without the required code_verifier. This affects OpenAM Community Edition through version 16.0.6 and was patched in version 16.1.1.
The authorize endpoint stores a code_challenge on the issued code, but the token endpoint only requires a code_verifier when the realm-wide codeVerifierEnforced setting is enabled, which ships disabled by default. With that setting off, the stored challenge is checked only if the caller supplies a verifier, so omitting the parameter skips PKCE verification entirely.
Impact
OpenAM Community Edition deployments through version 16.0.6 using the default OAuth2 provider configuration are potentially affected. For public clients, an attacker who intercepts an authorization code can exchange it for tokens without knowing the verifier. For confidential clients, the attacker additionally needs client authentication material or an execution context that can redeem the code. A token request supplying an incorrect verifier is still rejected. The bypass is specifically the missing-parameter path.
Patch
This has been patched in OpenAM Community Edition version 16.1.1. Users are encouraged to update to the latest release.
来源与许可
- GitHub Advisory GHSA-4v2w-2wqp-mc85
- https://github.com/OpenIdentityPlatform/OpenAM/security/advisories/GHSA-4v2w-2wqp-mc85
本页自动同步 GitHub Advisory Database 的公开数据,并保留上游原文供核验;不宣称原创分析。数据许可:CC-BY-4.0。
评论
登录 后参与讨论。
还没有评论,来说两句。