CVE-2023-50291 json
Apache Solr: System Property redaction logic inconsistency can lead to leaked passwords
published 2024-02-09 2 y ago modified 2026-09-08 2 mo ago also BIT-solr-2023-50291 , EUVD-2024-0488 , GHSA-3hwc-rqwp-v36q
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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).*'
Patch / fix
- maven org.apache.solr:solr-core 8.11.3, 9.3.0
- bitnami solr 8.11.3, 9.3.0
- Apache Software Foundation Apache Solr 9.3.0
- lucene-solr Debian 14, Debian 13, Debian 12 3.6.2+dfsg-23
debian advisories DEBIAN-CVE-2023-50291
- github.com/apache/solr@659021c commit
- github.com/apache/solr@98c1988 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-50291 updated cvss 6.5
solr: system property redaction logic inconsistency can lead to leaked passwords
-
Red Hat Fuse 7 solr solraffected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 6 solr solraffected: no fix planned “Out of support scope”
-
Red Hat Data Grid 8 solr solr Red Hat Integration Camel K 1 camel-solr camel-solr Red Hat JBoss Enterprise Application Platform 8 solr solrnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
3.28% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.solr:solr-core | >=6.0.0, <8.11.3 >=9.0.0, <9.3.0 |
8.11.3 9.3.0 |
| bitnami | solr | >=6.0.0, <8.11.3 >=9.0.0, <9.3.0 |
8.11.3 9.3.0 |
Affected products
- Apache Software Foundation Apache Solr
Classification
- Weakness
-
- CWE-522 Insufficiently Protected Credentials
References
-
github.com
/apache/solr/commit/659021c7d50164a3166887f24875228431b02102
web
-
github.com
/apache/solr/commit/98c198810f2cd934d23d0d80aadb570a2bbb3b8e
web
-
solr.apache.org
/security.html#cve-2023-50291-apache-solr-can-leak-certain-passwords-due-to-system-property-redaction-logic-in
vendor-advisory, web, advisory
-
openwall.com
/lists/oss-security/2024/02/09/4
web, mailing-list, discussion
-
nvd.nist.gov
/vuln/detail/CVE-2023-50291
advisory, web
-
github.com
/apache/solr
package
-
issues.apache.org
/jira/browse/SOLR-16809
web
Sources
- CVE List CVE-2023-50291
- GitHub Advisory GHSA-3hwc-rqwp-v36q
- NVD CVE-2023-50291
- OSV BIT-solr-2023-50291
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.