Security

Voltar para Security Alert

Elasticsearch and Liferay Enterprise Search Security Advisory: March 9, 2021

The following issues may affect the functionality of your Liferay DXP and Enterprise Search environment. This notification provides a description of the latest compatibility change and required actions for Liferay Enterprise Search Subscribers.

Deployments which might be impacted

  • Liferay DXP 7.2-7.3 on Elastic Stack 7.x* before 7.11.0
  • Liferay DXP 7.0-7.2 on Elastic Stack 6.x before 6.8.14

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

Vulnerability Information

Elasticsearch field disclosure flaw (ESA-2021-05)

A document disclosure flaw was found in Elasticsearch when Document or Field Level Security is used. Get requests do not properly apply security permissions when executing a query against a recently updated document. This affects documents that have been updated and not yet refreshed in the index. This could result in the search disclosing the existence of documents and fields the attacker should not be able to view. A mitigating factor to this flaw is an attacker must know the document ID to run the get request.

Affected Versions:

All versions of Elasticsearch after 7.6.0 and before 7.11.0 are affected by this flaw

Solutions and Mitigations:

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

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

CVE ID: CVE-2021-22134

Elasticsearch information disclosure (ESA-2021-03)

Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.

Affected Versions:

All versions of Elasticsearch before 7.10.0 and 6.8.14 are affected by this flaw

Solutions and Mitigations:

Anyone using audit logging with the xpack.security.audit.logfile.events.emit_request_body enabled should upgrade to Elasticsearch version 7.10.0 or 6.8.14. This issue can be worked around by disabling the emit_request_body option in the elasticsearch.yml file.

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

CVE ID: CVE-2020-7021

Kibana visualization XSS (ESA-2021-04)

The Kibana “Vega” visualization type is susceptible to both stored and reflected XSS via a vulnerable version of the Vega library. Users who can create these visualizations or craft a vulnerable URL describing this visualization can execute arbitrary JavaScript in the victim’s browser.

Affected Versions:

All versions of Kibana before 7.10.2 and 6.8.14 are affected by this flaw

Solutions and Mitigations:

Users should upgrade to Kibana version 7.10.2 or 6.8.14. Users unable to upgrade can disable Vega visualizations by setting ‘vega.enabled: false’ in the kibana.yml file.

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

CVE ID: CVE-2020-26296

Additional Information

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

Search Engine Compatibility Matrix

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

Vendor References


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

On this page