p PatchFirst

CVE-2023-50291

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

CVSS 7.5 · High · EPSS 1.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="lucene-solr"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

Published
Updated

Stack: system

Affected products and versions

  • apache solr

    Versions
    • ≥ 6.0.0, ≤ 8.11.2: Affected (semver)
    • ≥ 9.0.0, < 9.3.0: Affected (semver)

    Update to 9.3.0

  • lucene-solr Debian 12

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

  • lucene-solr Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

  • lucene-solr Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

  • lucene-solr Ubuntu Pro 14.04 LTS

    Versions
    • 3.6.2+dfsg-1
    • 3.6.2+dfsg-2
    • 3.6.2+dfsg-2ubuntu0.1~esm1
    • 3.6.2+dfsg-2ubuntu0.1~esm2
    • 3.6.2+dfsg-2ubuntu0.1~esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu Pro 16.04 LTS

    Versions
    • 3.6.2+dfsg-7
    • 3.6.2+dfsg-8
    • 3.6.2+dfsg-8ubuntu0.1
    • 3.6.2+dfsg-8ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu Pro 18.04 LTS

    Versions
    • 3.6.2+dfsg-10
    • 3.6.2+dfsg-11
    • 3.6.2+dfsg-18~18.04
    • 3.6.2+dfsg-18~18.04.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 20.04 LTS

    Versions
    • 3.6.2+dfsg-20
    • 3.6.2+dfsg-22
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 22.04 LTS

    Versions
    • 3.6.2+dfsg-24
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 24.04 LTS

    Versions
    • 3.6.2+dfsg-26
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 25.10

    Versions
    • 3.6.2+dfsg-26
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 26.10

    Versions
    • 3.6.2+dfsg-27
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 26.04 LTS

    Versions
    • 3.6.2+dfsg-26
    • 3.6.2+dfsg-27
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →