Vulnerability · Published Jan 15, 2024 · Assigned by apache

CVE-2023-50290Apache Solr: Host environment variables are published via the Metrics API

Medium 6.5

In plain English

A medium-severity information exposure in Apache Solr from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 68.4% (higher than 99.3% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)68.4%top 0.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling2Nuclei, Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.solr:solr-core9.3.0GHSA-gg7w-pw2r-x2cq
Ubuntu:22.04:LTSlucene-solrno fix listedUBUNTU-CVE-2023-50290
Ubuntu:24.04:LTSlucene-solrno fix listedUBUNTU-CVE-2023-50290
Ubuntu:25.10lucene-solrno fix listedUBUNTU-CVE-2023-50290
Ubuntu:26.04:LTSlucene-solrno fix listedUBUNTU-CVE-2023-50290
Ubuntu:26.10lucene-solrno fix listedUBUNTU-CVE-2023-50290

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Solr 9.0.0 – before 9.3.0

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References