CST-7051 Remote code execution via Web Proxy application

Description

In Liferay Portal 7.0.5 and earlier, the Web Proxy portlet/application allows remote attackers to execute arbitrary code via supplied stylesheet.

Patched versions of the portal will prevent users without the administrator role from adding the Web Proxy application to a page by default only in new installations. For existing installations, please refer to the workaround section below.

Workaround:

Portal administrators should review users with permission to add and configure the Web Proxy portlet/application. Permission to configure Web Proxy should be removed from any user who is not trusted.

  1. Navigate to Control Panel > Configuration > Components > Portlets
  2. Locate and click on "Web Proxy"
  3. Locate the "Permissions" section
  4. Click on "Change" and remove the "Add to Page" permission from any role with users who are not trusted.
    In most installations of Liferay DXP/Liferay Portal, the "Add to Page" permission should only be given to users with the "Administrator" role.

Severity

Severity 1

Fixed Version(s)

Publication date: Tue, 29 May 2018 04:00:00 +0000

Security advisories for Liferay's enterprise offerings (e.g., Liferay DXP) are only listed here since 2023. Historial advisories are availabe in the Help Center.