QID 150777

Date Published: 2024-01-17

QID 150777: Apache Solr: Sensitive Information Exposure Vulnerability (CVE-2023-50290)

Apache Solr is an open-source enterprise search platform which is on Apache Lucene.

The installed version of Apache Solr is vulnerable to Information Exposure through the Solr Metrics API. 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-process.
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.

Affected Versions:
Solr 9.0 to 9.2.1

QID Detection Logic (Unauthenticated) :
This QID sends a HTTP GET request to "/solr/admin/metrics" endpoint and based on the response confirms if the target is vulnerable.

Successful exploitation would lead to Information Disclosure vulnerability, which can help the attacker carry out further attacks and obtain sensitive information.

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as High - 7.8 severity.
  • Solution
    Customers are advised to upgrade to latest Apache Solr to remediate this vulnerability. For more information related to this vulnerability please refer to Apache Solr Advisory.

    CVEs related to QID 150777

    Software Advisories
    Advisory ID Software Component Link
    Apache Solr URL Logo solr.apache.org/security.html#cve-2023-50290-apache-solr-allows-read-access-to-host-environment-variables

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report