openidentityplatform/openam · Security
OpenAM: Using arbitrary OIDC requested claims values in id_token and user_info is allowed
- GHSA ID
- GHSA-39hr-239p-fhqc
- CVE ID
- CVE-2025-64099
- Severity
- high
- Published
- Updated
- CVSS v4
- 8.1 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Description
Summary
If the "claims_parameter_supported" parameter is activated, it is possible through the "oidc-claims-extension.groovy" script, to inject the value of choice into a claim contained in the id_token or in the user_info. Authorization function requests do not prevent a claims parameter containing a JSON file to be injected. This JSON file allows users to customize claims returned by the "id_token" and "user_info" files. This allows for a very wide range of vulnerabilities depending on how clients use claims. For example, if some clients rely on an email field to identify a user, users can choose to entera any email address, and therefore assume any chosen identity.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://github.com/OpenIdentityPlatform/OpenAM/security/advisories/GHSA-39hr-239p-fhqc ↗
- https://github.com/OpenIdentityPlatform/OpenAM/commit/4254b34b2b8b4867f2e7fccfac73904213d48510 ↗
- https://github.com/OpenIdentityPlatform/OpenAM/releases/tag/16.0.3 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-64099 ↗
- https://github.com/advisories/GHSA-39hr-239p-fhqc ↗