CVE-2023-50290
JSON

6.5medium

Apache Solr: Host environment variables are published via the Metrics API

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
8.60% (higher than 96% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-gg7w-pw2r-x2cqBIT-SOLR-2023-50290

Description

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr. The Solr Metrics API publishes all unprotected environment variables available to each Apache Solr instance. Users are able to specify which environment variables to hide, however, the default list is designed to work for known secret Java system properties. Environment variables cannot be strictly defined in Solr, like Java system properties can be, and may be set for the entire host, unlike Java system properties which are set per-Java-proccess. The Solr Metrics API is protected by the "metrics-read" permission. Therefore, Solr Clouds with Authorization setup will only be vulnerable via users with the "metrics-read" permission. This issue affects Apache Solr: from 9.0.0 before 9.3.0. Users are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Solrfrom 9.0.0 before 9.3.0CVE List
org.apache.solr:solr-core (Maven)from 9.0.0 before 9.3.0GitHub Advisory Database
apache solrfrom 9.0.0 before 9.3.0NVD
solr (Bitnami)from 9.0.0 before 9.3.0Bitnami Vulnerability Database

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr. The Solr Metrics API publishes all unprotected environment variables available to each Apache Solr instance. Users are able to specify which environment variables to hide, however, the default list is designed to work for known secret Java system properties. Environment variables cannot be strictly defined in Solr, like Java system properties can be, and may be set for the entire host, unlike Java system properties which are set per-Java-proccess. The Solr Metrics API is protected by the "metrics-read" permission. Therefore, Solr Clouds with Authorization setup will only be vulnerable via users with the "metrics-read" permission. This issue affects Apache Solr: from 9.0.0 before 9.3.0. Users are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.

NVD (es)

Vulnerabilidad de exposición de información confidencial a un actor no autorizado en Apache Solr. La API de Solr Metrics publica todas las variables de entorno desprotegidas disponibles para cada instancia de Apache Solr. Los usuarios pueden especificar qué variables de entorno ocultar; sin embargo, la lista predeterminada está diseñada para funcionar con propiedades secretas conocidas del sistema Java. Las variables de entorno no se pueden definir estrictamente en Solr, como pueden serlo las propiedades del sistema Java, y pueden configurarse para todo el host, a diferencia de las propiedades del sistema Java que se configuran por proceso Java. La API de Solr Metrics está protegida por el permiso de "metrics-read". Por lo tanto, las nubes Solr con configuración de autorización solo serán vulnerables a través de usuarios con el permiso de "metrics-read". Este problema afecta a Apache Solr: desde 9.0.0 antes de 9.3.0. Se recomienda a los usuarios actualizar a la versión 9.3.0 o posterior, en la que las variables de entorno no se publican a través de la API de métricas.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-50290 changed 2025-05-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-gg7w-pw2r-x2cq changed 2024-02-16CC-BY-4.0
NVDCVE-2023-50290 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-SOLR-2023-50290 changed 2026-09-08Apache-2.0