Insufficiently Protected Credentials Affecting org.apache.solr:solr-core package, versions [6.0.0,8.11.3)[9.0.0,9.3.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (61st percentile)

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 IDSNYK-JAVA-ORGAPACHESOLR-6241714
  • published11 Feb 2024
  • disclosed9 Feb 2024
  • creditMichael Taggart

Introduced: 9 Feb 2024

CVE-2023-50291  (opens in a new tab)
CWE-522  (opens in a new tab)

How 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).*

CVSS Scores

version 3.1