Details
-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.3.0.GA_P01
-
Fix Version/s: EE-4.3.0.GA_P02
-
Component/s: Framework, Sample Apps
-
Labels:None
-
Environment:external jars, security
-
Support Case References:Support Case 14503:- https://icesoft.my.salesforce.com/5000g000027qZtm
-
Workaround Description:Mojarra does not seem to serialize the view state token for server side state saving
Description
A security scan has shown issues with up to the the myfaces 2.2.12 version. see
https://issues.apache.org/jira/browse/MYFACES-4133
this has been resolved in myfaces - 2.3.0, so that version of the jar should be tested/included in next release.
other jars that have security scans may be used in our samples and should also be updated if possible:-
commons-beanutils : commons-beanutils : 1.9.2 Open or 1.9.3
dom4j : 1.6.1 Open
javax.servlet : jstl : 1.2 Open
org.apache.poi : poi : 3.9 Open
org.glassfish : javax.faces : 2.3.5 Open --scan states The getLocalePrefix function in ResourceManager.java in Eclipse Mojarra before 2.3.7 is affected by Directory Traversal via the loc parameter. A remote attacker can download configuration files or Java bytecodes from applications.
Explanation v 2.3.4 and 2.3.5 are only versions that are vulnerable, so stay away from these 2 versions of mojarra.
https://issues.apache.org/jira/browse/MYFACES-4133
this has been resolved in myfaces - 2.3.0, so that version of the jar should be tested/included in next release.
other jars that have security scans may be used in our samples and should also be updated if possible:-
commons-beanutils : commons-beanutils : 1.9.2 Open or 1.9.3
dom4j : 1.6.1 Open
javax.servlet : jstl : 1.2 Open
org.apache.poi : poi : 3.9 Open
org.glassfish : javax.faces : 2.3.5 Open --scan states The getLocalePrefix function in ResourceManager.java in Eclipse Mojarra before 2.3.7 is affected by Directory Traversal via the loc parameter. A remote attacker can download configuration files or Java bytecodes from applications.
Explanation v 2.3.4 and 2.3.5 are only versions that are vulnerable, so stay away from these 2 versions of mojarra.
r53222, r53223: Added JAXB API jar to avoid build-time errors with JDK 11 (committed to trunk and P02 tag)
Starting from Java 9, the JAXB API were moved out of Java SE, because they are considered part of Java EE. So, we're adding this jar, specifically for the mobi codebase, to be able to compile correctly on Java 9 and above. This doesn't affect anything when compiling with Java 8.
https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j