Skip to main content
← All vulnerabilities
CVE-2023-31417GHSA-99PC-69Q9-JXF2BIT-ELASTICSEARCH-2023-31417

Elasticsearch Insertion of sensitive information in audit logs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.17.12, 8.9.1, 7.17.13, 8.9.2
None on Exploit-DB, Metasploit or GitHub

Summary

Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. The impact of this flaw is that sensitive information such as passwords and tokens might be printed in cleartext in Elasticsearch audit logs. Note that audit logging is disabled by default and needs to be explicitly enabled and even when audit logging is enabled, request bodies that could contain sensitive information are not printed to the audit log unless explicitly configured.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Elastic Elasticsearch

    From 7.0.0 · fixed in 7.17.12; From 8.0.0 · fixed in 8.9.1

  • org.elasticsearch:elasticsearchMaven

    From 7.0.0 · fixed in 7.17.13

  • org.elasticsearch:elasticsearchMaven

    From 8.0.0 · fixed in 8.9.2

References 3

discuss.elastic.co

elastic.co

security.netapp.com