Bug 757980 (CVE-2011-4358)

Summary: CVE-2011-4358 Mojarra 2 EL injection: includeViewParameters re-evaluates param/model values as EL expressions
Product: [Other] Security Response Reporter: David Jorm <djorm>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: avibelli, bgeorges, brms-jira, cmoulliard, jbalunas, jpallich, jshepherd, lthon, mjc, mszynkie, pgallagh, rruss, tkirby, trogers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-29 23:39:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 757983    

Description David Jorm 2011-11-29 05:37:47 UTC
Mojarra 2 will re-evaluate param/model values as EL expressions when includeViewParameters is set to true. This flaw allows an attacker to inject EL expressions.

External References:

http://java.net/jira/browse/JAVASERVERFACES-2247
http://www.jakobk.com/2011/11/jsf-value-expression-injection-vulnerability/

Comment 1 David Jorm 2011-11-29 23:39:01 UTC
Statement:

Not vulnerable. This issue affects the Mojarra 2 package, which is not
shipped with any Red Hat products.

Comment 2 Jason Shepherd 2018-02-15 06:26:09 UTC
I tested Wildfly Swarm (7.0.0.redhat-8) using the testcase from upstream and found it's not affected.

   https://github.com/jboss/mojarra/tree/svn/tags/2.1.5/jsf-test/JAVASERVERFACES-2247