Insufficiently Protected Credentials Affecting org.apache.solr:solr-core package, versions [6.0.0,8.11.3) [9.0.0,9.3.0)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGAPACHESOLR-6241714
- published 11 Feb 2024
- disclosed 9 Feb 2024
- credit Michael Taggart
Introduced: 9 Feb 2024
CVE-2023-50291 Open this link in a new tabHow to fix?
Upgrade org.apache.solr:solr-core
to version 8.11.3, 9.3.0 or higher.
Overview
org.apache.solr:solr-core is an open source enterprise search platform built on Apache Lucene
Affected versions of this package are vulnerable to Insufficiently Protected Credentials due to system property redaction logic inconsistencies. An attacker can access sensitive information, such as credentials for basic authentication or AWS secret keys, by exploiting the /admin/info/properties
endpoint. This endpoint was intended to hide system properties containing "password" in their name, but failed to conceal other sensitive properties, including "basicauth" and "aws.secretKey", thus making them accessible via the Solr Admin UI. This is only exploitable if the Solr Cloud has Authorization enabled and the attacker has the "config-read" permission.
Workaround
This vulnerability can be avoided by using the Java system property -Dsolr.redaction.system.pattern=.*(password|secret|basicauth).*