All CVEs / OpenIdentityPlatform
CVE-2024-41667OpenIdentityPlatform OpenAM
High 8.8
Follow: this CVE · OpenIdentityPlatform · OpenIdentityPlatform OpenAM We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 4.7% probability of exploitation in 30 days · percentile 93
- Auth required
- Yes
- Published
- Jul 24, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
OpenAM is an open access management solution. In versions 15.0.3 and prior, the `getCustomLoginUrlTemplate` method in RealmOAuth2ProviderSettings.java is vulnerable to template injection due to its usage of user input. Although the developer intended to implement a custom URL for handling login to override the default OpenAM login, they did not restrict the `CustomLoginUrlTemplate`, allowing it to be set freely. Commit fcb8432aa77d5b2e147624fe954cb150c568e0b8 introduces `TemplateClassResolver.SAFER_RESOLVER` to disable the resolution of commonly exploited classes in FreeMarker template injection. As of time of publication, this fix is expected to be part of version 15.0.4.
What to do
- Apply the vendor's security update for OpenAM.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.openidentityplatform.openam:openam-oauth2 |
< 15.0.4 |
15.0.4 |
— |
Per OSV / GitHub Advisories (GHSA-7726-43hg-m23v). Check the version in your lockfile before upgrading.
Affected products
- OpenIdentityPlatform · OpenAM
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.