OmniFaces
OmniFaces: EL injection via crafted resource name in wildcard CDN mapping
OmniFaces is a utility library for Faces. Prior to versions 1.14.2, 2.7.32, 3.14.16, 4.7.5, and 5.2.3, there is a server-side EL injection leading to Remote Code Execution (RCE). This affects applications that use CDNResourceHandler with a wildcard CDN mapping (e.g. libraryName:*=https://cdn.example.com/*). An attacker can craft a resource request URL containing an EL expression in the resource name, which is evaluated server-side. This issue has been patched in versions 1.14.2, 2.7.32, 3.14.16, 4.7.5, and 5.2.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.14.2
- >= 2.0-RC1, < 2.7.32
- >= 3.0-RC1, < 3.14.16
- >= 4.0-M1, < 4.7.5
- >= 5.0-M1, < 5.2.3
Fixed in 1.14.2, 2.7.32, 3.14.16, 4.7.5, 5.2.3
Mitigation
Upgrade omnifaces to 1.14.2 or 2.7.32 or 3.14.16 or 4.7.5 or 5.2.3 or later.
References
- Vendor advisory github.com/omnifaces/omnifaces/security/adviso…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.