{"answers":{"affected":"5 open source packages ship an affected version, including org.apache.solr:solr and solr. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45216 exists.","fix":"Upgrade org.apache.solr:solr to a fixed version for your release line: 8.11.4 or 9.7.0.","what":"CVE-2024-45216 is a critical authentication bypass vulnerability in Apache Solr, published on 16 Oct 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-2024-45216 and fix it if it is affected.\n\nWhat it is: CVE-2024-45216 is a critical authentication bypass vulnerability in Apache Solr, published on 16 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45216 exists.\n\nAffected packages and fixed versions:\n- org.apache.solr:solr (Maven): affected from 5.3.0; fixed in 8.11.4\n- org.apache.solr:solr (Maven): affected from 5.3.0; fixed in 8.11.4\n- org.apache.solr:solr (Maven): affected from 9.0.0; fixed in 9.7.0\n- org.apache.solr:solr (Maven): affected from 9.0.0; fixed in 9.7.0\n- solr (Bitnami): affected from 5.3.0; fixed in 8.11.4, 9.7.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-2024-45216/ (Markdown: https://insights.sbomify.com/CVE-2024-45216/index.md)","id":"CVE-2024-45216","markdown":"https://insights.sbomify.com/CVE-2024-45216/index.md","name":"CVE-2024-45216","record":{"aliases":["BIT-solr-2024-45216","GHSA-mjvf-4h88-6xm3","UBUNTU-CVE-2024-45216"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Solr search engine","requires_auth":"none","summary":"Attackers can bypass authentication in Apache Solr by appending a fake path ending to API URLs, allowing unauthorized access to protected resources.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"solr","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"Improper Authentication vulnerability in Apache Solr.\n\nSolr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass.\nA fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path.\nThis fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing.\n\nThis issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0.\n\nUsers are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.","ecosystems":["Bitnami","Maven"],"exploits":{"exploitdb":0,"first_seen":"2024-12-02","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-12-02T04:09:04Z","kind":"github_poc","ref":"https://github.com/congdong007/CVE-2024-45216-Poc","stars":2,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-45216.yaml","stars":null,"title":"Apache Solr - Authentication Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"Apache Solr: Authentication bypass possible using a fake URL Path ending","id":"CVE-2024-45216","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"Apache Solr: ConfigSets created during a backup restore command are trusted implicitly","id":"CVE-2024-45217"},"packages":[{"ecosystem":"Bitnami","fixed":["8.11.4","9.7.0"],"introduced":["5.3.0","9.0.0"],"last_affected":[],"package":"solr","purl":"pkg:bitnami/solr","source":"BIT-solr-2024-45216"},{"ecosystem":"Maven","fixed":["8.11.4"],"introduced":["5.3.0"],"last_affected":[],"package":"org.apache.solr:solr","purl":null,"source":"GHSA-mjvf-4h88-6xm3"},{"ecosystem":"Maven","fixed":["8.11.4"],"introduced":["5.3.0"],"last_affected":[],"package":"org.apache.solr:solr","purl":"pkg:maven/org.apache.solr/solr","source":"GHSA-mjvf-4h88-6xm3"},{"ecosystem":"Maven","fixed":["9.7.0"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.solr:solr","purl":null,"source":"GHSA-mjvf-4h88-6xm3"},{"ecosystem":"Maven","fixed":["9.7.0"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.solr:solr","purl":"pkg:maven/org.apache.solr/solr","source":"GHSA-mjvf-4h88-6xm3"}],"prev":{"headline":"Missing authorization in Director","id":"CVE-2024-45208"},"products":["Apache Solr"],"published":"2024-10-16","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 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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-08","vendors":["Apache Software Foundation"]},"summary":"Attackers can bypass authentication in Apache Solr by appending a fake path ending to API URLs, allowing unauthorized access to protected resources.","url":"https://insights.sbomify.com/CVE-2024-45216/"}