CVE-2023-50290
published 2024-01-15CVE-2023-50290: Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr. The Solr Metrics API publishes all unprotected environment variables…
PriorityP263medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
EXPLOIT
EPSS
68.66%
99.3th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | solr | >= 9.0.0 < 9.3.0 | 9.3.0 |
| apache_software_foundation | apache_solr | >= 9.0.0 < 9.3.0 | 9.3.0 |
| debian | lucene-solr | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Send an unauthenticated HTTP GET to /solr/admin/metrics and check the JSON response body for the keys 'responseHeader', 'solr.jetty', and 'system.env' — their simultaneous presence confirms environment variable exposure. ↗
- →Confirm the response Content-Type header contains 'application/json' to reduce false positives when probing the Metrics API endpoint. ↗
- →Shodan/FOFA asset discovery: search for Apache Solr admin interfaces using title-based queries to identify exposed instances in scope. ↗
- →In Solr Cloud deployments with Authorization enabled, exploitation requires a user with the 'metrics-read' permission — monitor for unexpected grants of this permission or anomalous calls to the Metrics API by low-privilege accounts. ↗
- →Affected version range is Apache Solr 9.0.0 through 9.2.x; flag any instance in this range that exposes /solr/admin/metrics externally. ↗
- ·Users can partially mitigate exposure by specifying environment variables to hide via Solr configuration, but the default hide-list only covers known secret Java system properties — host-level environment variables not on that list remain exposed. ↗
- ·Unlike Java system properties (scoped per-process), environment variables are set for the entire host, meaning the blast radius of leakage is broader than typical Java property exposure. ↗
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2023-50290: Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr
osv·2024-01-15·CVSS 6.5
CVE-2023-50290 [MEDIUM] CVE-2023-50290: Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr
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 recomm
GHSA
Apache Solr allows read access to host environmet variables
ghsa·2024-01-15
CVE-2023-50290 [MEDIUM] CWE-200 Apache Solr allows read access to host environmet variables
Apache Solr allows read access to host environmet variables
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 issu
OSV
Apache Solr allows read access to host environmet variables
osv·2024-01-15
CVE-2023-50290 [MEDIUM] Apache Solr allows read access to host environmet variables
Apache Solr allows read access to host environmet variables
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 issu
Red Hat
Solr: Host environment variables are published via the Metrics API
vendor_redhat·2024-01-12·CVSS 6.5
CVE-2023-50290 [MEDIUM] CWE-200 Solr: Host environment variables are published via the Metrics API
Solr: Host environment variables are published via the Metrics API
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
Debian
CVE-2023-50290: lucene-solr - Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apac...
vendor_debian·2023·CVSS 6.5
CVE-2023-50290 [MEDIUM] CVE-2023-50290: lucene-solr - Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apac...
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 recomm
No detection rules found.
Nuclei
Apache Solr - Host Environment Variables Leak via Metrics API
nuclei·CVSS 6.5
CVE-2023-50290 [MEDIUM] Apache Solr - Host Environment Variables Leak via Metrics API
Apache Solr - Host Environment Variables Leak via Metrics API
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 can 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.
Template:
id: CVE-2023-50290
info:
name: Apache Solr - Host Environment Variables Leak via Metrics API
author: Banana69,DhiyaneshDK
severity: medium
description: |
Exposure of Sensitive Information to a
2024-01-15
Published