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.
CVEs related to QID 150777
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| Apache Solr |
|