PT-2024-1138 · Apache · Apache Solr
Published
2024-01-12
·
Updated
2025-05-09
·
CVE-2023-50290
CVSS v2.0
6.8
Medium
| Vector | AV:N/AC:L/Au:S/C:C/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Apache Solr versions 9.0.0 through 9.3.0
Description
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. Approximately 319,082 results are mainly distributed in China, the United States, and other countries.
Recommendations
Upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API. As a temporary workaround, consider restricting access to the Solr Metrics API for users without the "metrics-read" permission.
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Solr