OmniFaces: EL injection via crafted resource name in wildcard CDN mapping
omnifaces
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.omnifaces:omnifaces Maven |
|
|
omnifaces
| Product | Affected | Fixed in |
|---|---|---|
| org.omnifaces:omnifaces Maven |
|
|
4.7.55.2.3OmniFaces 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.
From the CVE record · GitHub_M
OmniFaces applications using CDNResourceHandler with a wildcard CDN mapping are vulnerable to server-side EL injection. An attacker can put an EL expression in a resource request URL and have it evaluated server-side, potentially leading to remote code execution. The input does not specify whether authentication or user interaction is required.
Check applications using Maven org.omnifaces:omnifaces versions below 1.14.2, from 2.0-RC1 to below 2.7.32, from 3.0-RC1 to below 3.14.16, from 4.0-M1 to below 4.7.5, or from 5.0-M1 to below 5.2.3.