Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-16514

LSV-408: Remote Code Execution using Journal/DDM templates

    Details

    • Fix Pack Status:
      Scheduled
    • 7.0 Fix Pack Version:
      65
    • 7.1 Fix Pack Version:
      3

      Description

      https://help.liferay.com/hc/en-us/articles/360028821571

      Liferay DXP 7.0, Liferay DXP 7.1, Liferay Portal 6.2 EE and Liferay Portal 6.1 EE is vulnerable to remote code execution using Web Content/DDM templates.

      Solution Notes

      • DXP: Default list of "Restricted Classes" for FreeMarker Engine and Velocity Engine configurations in System Settings have been modified: added java.lang.Compiler|java.lang.Package|java.lang.Process|java.lang.Runtime|java.lang.RuntimePermission|java.lang.SecurityManager|java.lang.System|java.lang.ThreadGroup|java.lang.ThreadLocal. Deployments using a customized list should be reviewed to apply the changes.
      • 6.2: The following portal properties have been updated as shown below. Deployments using a customized list should be reviewed to apply the changes.
            freemarker.engine.restricted.classes=\
                java.lang.Class,\
                java.lang.ClassLoader,\
                java.lang.Compiler,\
                java.lang.Package,\
                java.lang.Process,\
                java.lang.Runtime,\
                java.lang.RuntimePermission,\
                java.lang.SecurityManager,\
                java.lang.System,\
                java.lang.Thread,\
                java.lang.ThreadGroup,\
                java.lang.ThreadLocal
        
            velocity.engine.restricted.classes=\
                java.lang.Class,\
                java.lang.ClassLoader,\
                java.lang.Compiler,\
                java.lang.Package,\
                java.lang.Process,\
                java.lang.Runtime,\
                java.lang.RuntimePermission,\
                java.lang.SecurityManager,\
                java.lang.System,\
                java.lang.Thread,\
                java.lang.ThreadGroup,\
                java.lang.ThreadLocal
        

        Attachments

          Activity

            People

            Assignee:
            joshua.cords Joshua Cords
            Reporter:
            EnterpriseReleaseHU Enterprise Release HU
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.0.X EE
                7.1.x EE