Security

Voltar para Security Alert

Elasticsearch and Liferay Enterprise Search Security Advisory: April 7, 2021

Vulnerability Summary

Affected Product Affected Versions The following issues may affect the functionality of your Liferay DXP, Liferay Enterprise Search environment and your Elastic Stack.

Solutions & Mitigations

CVE-2024-37288Deployments which might be impacted

CVSSv3.1: 9.9 (Critical)

* see below under each vulnerability entry the actual affected products and versions.

Learn more.

Vulnerability Information CVE-2024-37285

CVSS v3.1: 9.1 (Critical) Kibana arbitrary code execution via YAML deserialization Kibana 8.10.0 to 8.15.0 Elasticsearch Suggester & Profile API information disclosure flaw (ESA-2021-06)

 A document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.

Additional InformationAffected Versions:

Liferay DXP and the Liferay Enterprise Search Monitoring application which integrates Kibana's UI as a proxy into Liferay DXP, do not include the binaries of the Kibana application itself. It is not possible to patch or update Kibana through the installation of Liferay hotfixes or upgrading to newer quarterly releases. In addition, Liferay does not have further information about the vulnerabilities and their exploit-ability beyond what's shared in the public security alerts issued by the vendor (Elastic).

Solutions and Mitigations:

Search Engine Compatibility

Anyone using both Document and Field Level Security should upgrade to Elasticsearch version 7.11.2 or 6.8.15. There is no known workaround for this flaw.

CVSSv3 - 3.1: AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

CVE ID: CVE-2021-22135

Kibana Timeout Bypass (ESA-2021-07)

A flaw in Kibana’s session timeout was discovered where the xpack.security.session.idleTimeout setting is not being respected. This was caused by background polling activities unintentionally extending authenticated users sessions, preventing a user session from timing out.

Affected Versions:

All versions of Kibana before 7.12.0 and 6.8.15.

Solutions and Mitigations:

Users should update their version of Kibana to 7.12.0 or 6.8.15.

CVSSv3 - 4.0: AV:P/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

CVE ID: CVE-2021-22136

Elasticsearch field disclosure flaw (ESA-2021-08)

A document disclosure flaw was found in Elasticsearch when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain cross-cluster search queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.

Thanks to Piotr Dłubisz, Security Consultant at JN Data A/S for reporting this issue.

Affected Versions:

All versions of Elasticsearch before 6.8.15 and 7.11.2

Solutions and Mitigations:

Anyone using Document or Field Level Security should upgrade to Elasticsearch version 7.11.2 or 6.8.15. There is no known workaround for this flaw.

CVSSv3 - 2.6:AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N

CVE ID: CVE-2021-22137

Additional Information

Liferay's Elasticsearch connectors and out-of-the-box features are not using Document or Field Level Security (CVE-2021-22135, CVE-2021-22137).

When updating Kibana to 7.11+, the following known issue may impact your Liferay Enterprise Search Monitoring - Kibana integration. Please refer to this article for details.

Search Engine Compatibility Matrix

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

Vendor References

https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125


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

On this page