Bug 598169 (CVE-2010-2087) - CVE-2010-2087 glassfish-jsf: Mojarra 1.2_14 and 2.0.2 XSS via state view
Summary: CVE-2010-2087 glassfish-jsf: Mojarra 1.2_14 and 2.0.2 XSS via state view
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2010-2087
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: https://www.trustwave.com/spiderlabs/...
Whiteboard:
Depends On:
Blocks: 734565
TreeView+ depends on / blocked
 
Reported: 2010-05-31 16:19 UTC by Jan Lieskovsky
Modified: 2021-02-24 23:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-12 23:41:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2010-05-31 16:19:27 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2010-2087 to
the following vulnerability:

Oracle Mojarra 1.2_14 and 2.0.2, as used in IBM WebSphere Application
Server, Caucho Resin, and other applications, does not properly handle
an unencrypted view state, which allows remote attackers to conduct
cross-site scripting (XSS) attacks or execute arbitrary Expression
Language (EL) statements via vectors that involve modifying the
serialized view object.

References:
  [1] http://www.blackhat.com/presentations/bh-dc-10/Byrne_David/BlackHat-DC-2010-Byrne-SGUI-slides.pdf
  [2] https://www.trustwave.com/spiderlabs/advisories/TWSL2010-001.txt
  [3] http://www.caucho.com/

Comment 1 David Jorm 2011-10-12 23:41:07 UTC
Statement:

This flaw affects applications using unencrypted client-side view states on Mojarra as shipped with JBoss Communications Platform 1.2.11 and 5.1.1, JBoss Enterprise Application Platform 4.2.0, 4.3.0 and 5.1.1, JBoss Enterprise BRMS Platform 5.1.0, JBoss Enterprise Portal Platform 4.3 and 5.1.1, JBoss Enterprise SOA Platform 4.2.0, 4.3.0 and 5.1.0, JBoss Enterprise Web Platform 5.1.1 and JBoss Web Framework Kit 1.1.0 and 1.2.0. Unencrypted client-side view states are fundamentally insecure and should not be used. Developers are advised to always enable encryption when creating JavaServer Faces (JSF) applications using client-side view state. When using the Mojarra implementation of JSF, this is achieved by adding the following snippet to the application's web.xml:
<context-param>
   <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
   <param-value>client</param-value>
</context-param>
<env-entry>
   <env-entry-name>ClientStateSavingPassword</env-entry-name>
   <env-entry-type>java.lang.String</env-entry-type>
   <env-entry-value>INSERT_YOUR_PASSWORD</env-entry-value>
</env-entry>


Note You need to log in before you can comment on or make changes to this bug.