CVEfocus › CVE database › CVE-2023-50291

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

CVSS 7.5 HighEPSS 1.3% (higher than 69% of CVEs)Published 2024-02-09Updated 2025-05-15Assigner: apache

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

CWE-522

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
3Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10lucene-solrFix pendingUBUNTU-CVE-2023-50291
Ubuntu 26.04lucene-solrUnder investigationUBUNTU-CVE-2023-50291
Ubuntu 25.10lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50291
Ubuntu 24.04lucene-solrUnder investigationUBUNTU-CVE-2023-50291
Ubuntu 22.04lucene-solrUnder investigationUBUNTU-CVE-2023-50291
Ubuntu 20.04lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50291
Ubuntu 18.04lucene-solrFix pendingUBUNTU-CVE-2023-50291
Ubuntu 16.04lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50291
Ubuntu 14.04lucene-solrFix pendingUBUNTU-CVE-2023-50291
Debian 14lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2023-50291
Debian 13lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2023-50291
Debian 12lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2023-50291
Maven libraryorg.apache.solr:solr-coreFixed9.3.0GHSA-3hwc-rqwp-v36q

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.