legacy-knowledge-base
公開されました 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

learn-legacy-article-disclaimer-text

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