Media

Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs

  • Publicada: 26.10.2023
  • Actualizado: 11.10.2026 12:21

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.

The _xpack/security APIs have been deprecated in Elasticsearch 7.x and were entirely removed in 8.0.0 and later. The only way for a client to use them in Elasticsearch 8.0.0 and later is to provide the Accept: application/json; compatible-with=7 header. Elasticsearch official clients do not use these deprecated APIs.

The list of affected, deprecated APIs, is the following:

POST /_xpack/security/user/{username} PUT /_xpack/security/user/{username} PUT /_xpack/security/user/{username}/_password POST /_xpack/security/user/{username}/_password PUT /_xpack/security/user/_password POST /_xpack/security/user/_password POST /_xpack/security/oauth2/token DELETE /_xpack/security/oauth2/token POST /_xpack/security/saml/authenticate

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Java / Kotlin (Maven) org.elasticsearch:elasticsearch >= 7.0.0, < 7.17.13, >= 8.0.0, < 8.9.2 7.17.13, 8.9.2

Referencias

Puntuación CVSS 4.1/10
Vector CVSS
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Debilidad (CWE)
CWE-532
Plataforma
Java / Kotlin (Maven)
Paquete
org.elasticsearch:elasticsearch
Publicada
26.10.2023
Actualizado
11.10.2026 12:21

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-99pc-69q9-jxf2 - CC BY 4.0

Historial de vulnerabilidades: org.elasticsearch:elasticsearch

Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (40) en el archivo
Entradas en total
40
Primera → última
03.2021 05.2025
Sin corrección
0
Explotada en ataques
2

Distribución por gravedad

  • Alta 8
  • Media 31
  • Baja 1

Divulgaciones por año

  1. 2021: 7
  2. 2022: 19
  3. 2023: 4
  4. 2024: 7
  5. 2025: 3
  6. 2026: 0
Gravedad:
  1. Alta · 7.5 CVE-2023-31418 < 7.17.13, >= 8.0.0, < 8.9.0 7.17.13, 8.9.0
  2. Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs esta entrada
    Media · 4.1 CVE-2023-31417 >= 7.0.0, < 7.17.13, >= 8.0.0, < 8.9.2 7.17.13, 8.9.2
  3. Alta · 7.5 CVE-2022-23712 >= 8.0.0, < 8.2.1 8.2.1
  4. Alta · 8.8 CVE-2020-7009 >= 6.7.0, < 6.8.8, >= 7.0.0, < 7.6.2 6.8.8, 7.6.2
  5. Alta · 8.1 Explotada en ataques CVE-2014-3120 < 1.4.0.Beta1 1.4.0.Beta1
  6. Alta Explotada en ataques CVE-2015-1427 < 1.3.8, >= 1.4.0, < 1.4.3 1.3.8, 1.4.3
  7. Alta · 7.5 CVE-2015-4165 < 1.6.0 1.6.0
  8. Alta · 8.8 CVE-2018-3831 >= 5.6.0, < 5.6.12, >= 6.0.0, < 6.4.1 5.6.12, 6.4.1
  9. Alta · 8.1 CVE-2019-7611 < 5.6.15, >= 6.0.0, < 6.6.1 5.6.15, 6.6.1

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.