Legacy Knowledge Base
Published Jul. 2, 2025

Elasticsearch and Liferay Enterprise Search Security Advisory: CVE-2018-3831

Written By

Tibor Lipusz

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

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

CVE-2018-3831 reports that, "Elasticsearch Alerting and Monitoring in versions before 6.4.1 or 5.6.12 have an information disclosure issue when secrets are configured via the API. The Elasticsearch _cluster/settings API, when queried, could leak sensitive configuration information such as passwords, tokens, or usernames. This could allow an authenticated Elasticsearch user to improperly view these details."

Elastic confirmed these vulnerabilities in the following security announcement: Elastic Stack 6.4.1 and 5.6.12 security update.

Resolution

Liferay products integrated with Elasticsearch (Liferay Connector to Elasticsearch 6, Liferay Enterprise Search Monitoring and Liferay Enterprise Search Security) use the Java Transport Client to communicate with the Elasticsearch server. That being the case, there are no components in the product making calls to the REST API (_cluster/settings), therefore, the vulnerability can not be exploited through Liferay DXP. 

Additional Information

Considering that Liferay Connector to Elasticsearch 6 and the Liferay Enterprise Search connectors (version 2.0) are currently supported to work with Elasticsearch version 6.1.x, Liferay Support is testing if the current integration is compatible with newer Elasticsearch versions as well (see LPS-86392).

Once our testing is complete, this article will be updated to inform customers about additional mitigation options.

Search Engine Compatibility Matrix

Reference the information here for the detailed Elasticsearch compatibility including the compatible connector versions and required patch levels.


Elastic, Elasticsearch, and X-Pack are trademarks of Elasticsearch BV, registered in the U.S. and in other countries.

Did this article resolve your issue ?

Legacy Knowledge Base