{"answers":{"affected":"5 open source packages ship an affected version, including org.apache.solr:solr-core and solr. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-50291 in the wild and no public exploit code.","fix":"Upgrade org.apache.solr:solr-core to a fixed version for your release line: 8.11.3 or 9.3.0.","what":"CVE-2023-50291 is a high-severity vulnerability in Apache Solr, published on 9 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-50291 and fix it if it is affected.\n\nWhat it is: CVE-2023-50291 is a high-severity vulnerability in Apache Solr, published on 9 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-50291 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.solr:solr-core (Maven): affected from 6.0.0; fixed in 8.11.3\n- org.apache.solr:solr-core (Maven): affected from 6.0.0; fixed in 8.11.3\n- org.apache.solr:solr-core (Maven): affected from 9.0.0; fixed in 9.3.0\n- org.apache.solr:solr-core (Maven): affected from 9.0.0; fixed in 9.3.0\n- solr (Bitnami): affected from 6.0.0; fixed in 8.11.3, 9.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-50291/ (Markdown: https://insights.sbomify.com/CVE-2023-50291/index.md)","id":"CVE-2023-50291","markdown":"https://insights.sbomify.com/CVE-2023-50291/index.md","name":"CVE-2023-50291","record":{"aliases":["BIT-solr-2023-50291","DEBIAN-CVE-2023-50291","GHSA-3hwc-rqwp-v36q","UBUNTU-CVE-2023-50291"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Solr search engine","requires_auth":"none","summary":"Authenticated users with config-read permissions can view sensitive system properties, including credentials, via the Solr Admin UI due to insufficient redaction logic.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"solr","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"Insufficiently Protected Credentials vulnerability in Apache Solr.\n\nThis issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.3.0.\nOne 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.\nThere 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.\nThis endpoint populates the list of System Properties on the home screen of the Solr Admin page, making the exposed credentials visible in the UI.\n\nThis /admin/info/properties endpoint is protected under the \"config-read\" permission.\nTherefore, Solr Clouds with Authorization enabled will only be vulnerable through logged-in users that have the \"config-read\" permission.\nUsers are recommended to upgrade to version 9.3.0 or 8.11.3, which fixes the issue.\nA single option now controls hiding Java system property for all endpoints, \"-Dsolr.hiddenSysProps\".\nBy default all known sensitive properties are hidden (including \"-Dbasicauth\"), as well as any property with a name containing \"secret\" or \"password\".\n\nUsers who cannot upgrade can also use the following Java system property to fix the issue:\n  '-Dsolr.redaction.system.pattern=.*(password|secret|basicauth).*'","ecosystems":["Bitnami","Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Solr: System Property redaction logic inconsistency can lead to leaked passwords","id":"CVE-2023-50291","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":5,"n_references":2,"next":{"headline":"Apache Solr: Solr Schema Designer blindly \"trusts\" all configsets, possibly leading to RCE by unauthenticated users","id":"CVE-2023-50292"},"packages":[{"ecosystem":"Bitnami","fixed":["8.11.3","9.3.0"],"introduced":["6.0.0","9.0.0"],"last_affected":[],"package":"solr","purl":"pkg:bitnami/solr","source":"BIT-solr-2023-50291"},{"ecosystem":"Maven","fixed":["8.11.3"],"introduced":["6.0.0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":null,"source":"GHSA-3hwc-rqwp-v36q"},{"ecosystem":"Maven","fixed":["8.11.3"],"introduced":["6.0.0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","source":"GHSA-3hwc-rqwp-v36q"},{"ecosystem":"Maven","fixed":["9.3.0"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":null,"source":"GHSA-3hwc-rqwp-v36q"},{"ecosystem":"Maven","fixed":["9.3.0"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","source":"GHSA-3hwc-rqwp-v36q"}],"prev":{"headline":"Apache Solr: Host environment variables are published via the Metrics API","id":"CVE-2023-50290"},"products":["Apache Solr"],"published":"2024-02-09","related":[{"cvss_score":7.5,"headline":"Apache Solr VelocityResponseWriter Plug-In Remote Code Execution","id":"CVE-2019-17558","kev_date_added":"2021-11-03","published":"2019-12-30"},{"cvss_score":7.2,"headline":"Apache Solr DataImportHandler Code Injection","id":"CVE-2019-0193","kev_date_added":"2021-12-10","published":"2019-08-01"},{"cvss_score":9.8,"headline":"Apache Solr: Authentication bypass possible using a fake URL Path ending","id":"CVE-2024-45216","kev_date_added":null,"published":"2024-10-16"},{"cvss_score":9.8,"headline":"Apache Solr information disclosure vulnerability through DataImportHandler","id":"CVE-2021-44548","kev_date_added":null,"published":"2021-12-23"},{"cvss_score":9.8,"headline":"SSRF vulnerability with the Replication handler","id":"CVE-2021-27905","kev_date_added":null,"published":"2021-04-13"},{"cvss_score":9.8,"headline":"Incorrect Authorization in Apache Solr","id":"CVE-2020-13957","kev_date_added":null,"published":"2020-10-13"},{"cvss_score":9.8,"headline":"Unrestricted upload of file with dangerous type in Apache Solr","id":"CVE-2019-12409","kev_date_added":null,"published":"2019-11-18"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-15","vendors":["Apache Software Foundation"]},"summary":"Authenticated users with config-read permissions can view sensitive system properties, including credentials, via the Solr Admin UI due to insufficient redaction logic.","url":"https://insights.sbomify.com/CVE-2023-50291/"}