Bug 760692 (CVE-2011-4343)

Summary: CVE-2011-4343 MyFaces 2: EL injection, includeViewParameters re-evaluates param/model values as EL expressions
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: djorm, pcheung
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-12-07 04:37:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 760693    

Description Vincent Danen 2011-12-06 19:17:29 UTC
It was reported [1],[2] that Apache MyFaces 2 would re-evaluate param/model values as EL expressions under certain conditions. If a submit outcome included both faces-redirect=true and includeViewParams=true (or faces-include-view-params=true), it would be possible to inject EL expressions directly into input fields mapped as view parameters.

This is fixed in upstream versions 2.0.11 and 2.1.5.  A patch [3] and reproducer [4] are available.

[1] http://java.net/jira/browse/JAVASERVERFACES-2247
[2] https://issues.apache.org/jira/browse/MYFACES-3405
[3] https://issues.apache.org/jira/secure/attachment/12504807/MYFACES-3405-1.patch
[4] http://www.jakobk.com/2011/11/jsf-value-expression-injection-vulnerability/

Comment 1 David Jorm 2011-12-07 04:37:02 UTC
Statement:

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

Comment 2 David Jorm 2011-12-07 04:37:44 UTC
*** Bug 757982 has been marked as a duplicate of this bug. ***