ubuntu-cve-2023-50291
Vulnerability from osv_ubuntu
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).'
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
},
{
"binary_name": "libsolr-java",
"binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
},
{
"binary_name": "solr-common",
"binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
},
{
"binary_name": "solr-jetty",
"binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
},
{
"binary_name": "solr-tomcat",
"binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-2ubuntu0.1~esm4?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
},
{
"binary_name": "libsolr-java",
"binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
},
{
"binary_name": "solr-common",
"binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
},
{
"binary_name": "solr-jetty",
"binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
},
{
"binary_name": "solr-tomcat",
"binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-8ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.6.2+dfsg-7",
"3.6.2+dfsg-8",
"3.6.2+dfsg-8ubuntu0.1",
"3.6.2+dfsg-8ubuntu0.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
},
{
"binary_name": "libsolr-java",
"binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
},
{
"binary_name": "solr-common",
"binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
},
{
"binary_name": "solr-jetty",
"binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
},
{
"binary_name": "solr-tomcat",
"binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-18~18.04.1~esm2?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-22"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-22"
},
{
"binary_name": "libsolr-java",
"binary_version": "3.6.2+dfsg-22"
},
{
"binary_name": "solr-common",
"binary_version": "3.6.2+dfsg-22"
},
{
"binary_name": "solr-jetty",
"binary_version": "3.6.2+dfsg-22"
},
{
"binary_name": "solr-tomcat",
"binary_version": "3.6.2+dfsg-22"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-22?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.6.2+dfsg-20",
"3.6.2+dfsg-22"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-24"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-24"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-24?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.6.2+dfsg-24"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-26"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-26"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-26?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.6.2+dfsg-26"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-26"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-26"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-26?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.6.2+dfsg-26"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-27"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-27"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-27?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.6.2+dfsg-26",
"3.6.2+dfsg-27"
]
}
],
"aliases": [],
"details": "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\u0027 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: \u00a0 \u0027-Dsolr.redaction.system.pattern=.*(password|secret|basicauth).*\u0027",
"id": "UBUNTU-CVE-2023-50291",
"modified": "2026-05-20T15:02:57Z",
"published": "2024-02-09T18:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-50291"
},
{
"type": "REPORT",
"url": "https://solr.apache.org/security.html#cve-2023-50291-apache-solr-can-leak-certain-passwords-due-to-system-property-redaction-logic-inconsistencies"
},
{
"type": "REPORT",
"url": "https://www.openwall.com/lists/oss-security/2024/02/09/4"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-50291"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-50291"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.