Improper Authentication in Apache MyFaces
shared/util/StateUtils.java in Apache MyFaces 1.1.x before 1.1.8, 1.2.x before 1.2.9, and 2.0.x before 2.0.1 uses an encrypted View State without a Message Authentication Code (MAC), which makes it easier for remote attackers to perform successful modifications of the View State via a padding oracle attack.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.myfaces.core:myfaces-impl | >= 1.1.0, < 1.1.8, >= 1.2.0, < 1.2.9, >= 2.0.0, < 2.0.1 | 1.1.8, 1.2.9, 2.0.1 |
| Java / Kotlin (Maven) | org.apache.myfaces.shared:myfaces-shared-core | >= 1.1.0, < 1.1.8, >= 1.2.0, < 1.2.9, >= 2.0.0, < 2.0.1 | 1.1.8, 1.2.9, 2.0.1 |
References
- Weakness (CWE)
CWE-287- Platform
- Java / Kotlin (Maven)
- Package
org.apache.myfaces.core:myfaces-impl, org.apache.myfaces.shared:myfaces-shared-core- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4fv4-cq5v-x45m - CC BY 4.0
Vulnerability history: org.apache.myfaces.shared:myfaces-shared-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.