Legacy Knowledge Base
Published Jun. 30, 2025

CVE-2013-3587- enable of HTTP compression

Written By

Apsara Raheja

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Security vulnerability CVE-2013-3587 details a breach attack that is possible with the enable of HTTP compression and Deflate.

Steps to see the behvaior:

  • Navigate to any of the pages on the Liferay server.
  • Inspect the browser, open the network tab request, and check the accept-encoding header value.
    accept-encoding.png

Environment

  • Liferay DXP 2023.Q3

Resolution

  • The accept-encoding header highlighted in the above snapshot shows the browser’s Accept-Encoding and not DXP’s response which is not controlled from Liferay's end.
  • Regarding the HTTP compression, check the Tomcat/app server configuration and turn it off from there as well.
  • Please check the below property present in 'portal-ext.properties', which is disabled by default. If it persists, remove it or make it false.
    com.liferay.portal.servlet.filters.gzip.GZipFilter=true

 

 

Did this article resolve your issue ?

Legacy Knowledge Base