Insufficiently Protected Credentials vulnerability in Apache Solr.
This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.3.0.
One of the two endpoints that publishes the Solr processā Java system properties, /admin/info/properties, was only setup to hide system properties that had āpasswordā contained in the name.
There are a number of sensitive system properties, such as ābasicauthā and āaws.secretKeyā do not contain āpasswordā, thus their values were published via the ā/admin/info/propertiesā endpoint.
This endpoint populates the list of System Properties on the home screen of the Solr Admin page, making the exposed credentials visible in the UI.
This /admin/info/properties endpoint is protected under the āconfig-readā permission.
Therefore, Solr Clouds with Authorization enabled will only be vulnerable through logged-in users that have the āconfig-readā permission.
Users are recommended to upgrade to version 9.3.0 or 8.11.3, which fixes the issue.
A single option now controls hiding Java system property for all endpoints, ā-Dsolr.hiddenSysPropsā.
By default all known sensitive properties are hidden (including ā-Dbasicauthā), as well as any property with a name containing āsecretā or āpasswordā.
Users who cannot upgrade can also use the following Java system property to fix the issue:
Ā ā-Dsolr.redaction.system.pattern=.(password|secret|basicauth).ā
[
{
"defaultStatus": "unaffected",
"product": "Apache Solr",
"vendor": "Apache Software Foundation",
"versions": [
{
"lessThanOrEqual": "8.11.2",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "9.3.0",
"status": "affected",
"version": "9.0.0",
"versionType": "semver"
}
]
}
]