Description
Oracle Mojarra 2.2.x before 2.2.6 and 2.1.x before 2.1.28 does not perform appropriate encoding when a (1) <h:outputText> tag or (2) EL expression is used after a scriptor style block, which allows remote attackers to conduct cross-site scripting (XSS) attacks via application-specific vectors.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mojarra | 2.2.8-1 | — |
| Debian 13 | mojarra | 2.2.8-1 | — |
| Debian 12 | mojarra | 2.2.8-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.glassfish:javax.faces | >= 2.2.0, < 2.2.6 | 2.2.6 | GHSA-3m3r-82gc-53mj |
| Maven | org.glassfish:javax.faces | >= 2.1.0, < 2.1.28 | 2.1.28 | GHSA-3m3r-82gc-53mj |
References
- RHSA-2015:0765 vendor-advisory
- http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/JSF-outputText-tag-the-good-the-bad-and-the-ugly/ba-p/6368011#.U8ccVPlXZHU
- RHSA-2015:0675 vendor-advisory
- http://www.vmware.com/security/advisories/VMSA-2014-0012.html
- RHSA-2015:0720 vendor-advisory
- 65600 vdb-entry
- https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1258
- http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html
- 20141205 NEW: VMSA-2014-0012 - VMware vSphere product updates address security vulnerabilities mailing-list
- http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html
- https://java.net/jira/browse/JAVASERVERFACES-3150
- 20141205 NEW: VMSA-2014-0012 - VMware vSphere product updates address security vulnerabilities mailing-list