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

LSV-460: RCE using JSON Deserialization in templates

    Details

    • Fix Pack Status:
      Scheduled
    • Business Value:
      5
    • CVSS Base Score:
      9.9
    • CVSS Vector String:
      CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    • 7.0 Fix Pack Version:
      82
    • 7.1 Fix Pack Version:
      12

      Description

      Liferay DXP 7.1, DXP 7.0, Portal 6.2 EE and Portal 6.1 EE deployments are vulnerable to remote code execution via deserialization of JSON data.

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

      Solution Notes

      Liferay Digital Experience Platform 7.0, 7.1

      The default list of "Restricted Classes" for FreeMarker Engine and Velocity Engine configurations in System Settings have been modified: added com.liferay.portal.json.jabsorb.serializer.LiferayJSONDeserializationWhitelist.

      Deployments using a customized configuration should be reviewed to apply the changes.

      Liferay Portal 6.2 EE

      The following portal properties have been updated as shown below. Deployments using a customized configuration should be reviewed to apply the changes

      freemarker.engine.restricted.classes=\
       com.liferay.portal.json.jabsorb.serializer.LiferayJSONDeserializationWhitelist,\
       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=\
       com.liferay.portal.json.jabsorb.serializer.LiferayJSONDeserializationWhitelist,\
       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:
              tibor.lipusz Tibor Lipusz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                6.2.X EE
                7.0.X EE
                7.1.x EE