Apache Solr: Host environment variables are published via the Metrics API
CVE-2023-50290Published 15 Jan 2024, 09:32 UTC
Real-world risk
4.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from apache)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Apache SolrCommon | >= 9.0.0, < 9.3.0 | 9.3.0 |
What to do
Update to a fixed version: 9.3.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Nuclei scanner template (link)
EPSS 68.4% chance of exploitation in 30 days (percentile 99), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T4: Weaponized1.000
- 10 × impact 0.8 × prerequisites 0.6 × threat 14.800
- Rounded to one decimal between 0.1 and 104.8
Exploitation and evidence timeline
- 15 Jan 2024 Published
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Risk 4.8 (cvss fallback)
Weakness
CWE-200