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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Solr | from 9.0.0 before 9.3.0 | CVE List |
| org.apache.solr:solr-core (Maven) | from 9.0.0 before 9.3.0 | GitHub Advisory Database |
| apache solr | from 9.0.0 before 9.3.0 | NVD |
| solr (Bitnami) | from 9.0.0 before 9.3.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-50290 changed 2025-05-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gg7w-pw2r-x2cq changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-50290 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-SOLR-2023-50290 changed 2026-09-08 | Apache-2.0 |