cbcvebase.
CVE-2023-50290
published 2024-01-15

CVE-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
VendorProductVersion rangeFixed in
apachesolr>= 9.0.0 < 9.3.09.3.0
apache_software_foundationapache_solr>= 9.0.0 < 9.3.09.3.0
debianlucene-solr

Detection & IOCsextracted from sources · hover to see the quote

url/solr/admin/metrics
  • 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.