Lucene search

K
cvelistApacheCVELIST:CVE-2023-50291
HistoryFeb 09, 2024 - 5:29 p.m.

CVE-2023-50291 Apache Solr: System Property redaction logic inconsistency can lead to leaked passwords

2024-02-0917:29:32
CWE-522
apache
www.cve.org
apache solr
redaction logic
insufficiently protected credentials
vulnerability
sensitive system properties
authorization
solr clouds
upgrade
system property
security fix

0.001 Low

EPSS

Percentile

44.7%

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).ā€™

CNA Affected

[
  {
    "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"
      }
    ]
  }
]

0.001 Low

EPSS

Percentile

44.7%