Re: Security issue - EL injection via DynamicContentStreamer
Posted: 23 May 2011, 23:14
There are plans to drop dynamiccontentstreamer and use our custom ResourceHandler to do this stuff for 3.0.
Glad to hear that (I would vote to reclassify as a bug or at least assign higher priority). I am still willing to send you the exploit if you are interested.There are plans to drop dynamiccontentstreamer and use our custom ResourceHandler to do this stuff for 3.0.
http://code.google.com/p/primefaces/iss ... il?id=2073
Yes, simple solution.The following code could be used to prevent the injection until this issue is resolved:
Very good point. We use JSF error pages... however the ERROR dispatch is also caught (second time) by the protecting servlet filter. We end up with showing the error page of the servlet container.However, if one uses JSF's error handling mechanism the way the error page is also served by JSF, then the result of the exploit still might be shown.
If you check issue linked by Optimus (https://code.google.com/archive/p/prime ... ssues/2073), it was fixed for 3.0 release.