{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.solr:solr-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8010 in the wild and no public exploit code.","fix":"Upgrade org.apache.solr:solr-core to a fixed version for your release line: 6.6.4 or 7.3.1.","what":"CVE-2018-8010 is a medium-severity vulnerability in Apache Solr, published on 21 May 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-8010 and fix it if it is affected.\n\nWhat it is: CVE-2018-8010 is a medium-severity vulnerability in Apache Solr, published on 21 May 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-8010 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.solr:solr-core (Maven): affected from 6.6.0; fixed in 6.6.4\n- org.apache.solr:solr-core (Maven): affected from 6.6.0; fixed in 6.6.4\n- org.apache.solr:solr-core (Maven): affected from 7.0.0; fixed in 7.3.1\n- org.apache.solr:solr-core (Maven): affected from 7.0.0; fixed in 7.3.1\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-2018-8010/ (Markdown: https://insights.sbomify.com/CVE-2018-8010/index.md)","id":"CVE-2018-8010","markdown":"https://insights.sbomify.com/CVE-2018-8010/index.md","name":"CVE-2018-8010","record":{"aliases":["GHSA-rc9v-h28f-jcmf"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache Solr search engine","requires_auth":"low_privilege","summary":"An attacker can exploit XML external entity expansion in Solr config files to read arbitrary local files or internal network resources.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"solr","vendor":"apache"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"This vulnerability in Apache Solr 6.0.0 to 6.6.3, 7.0.0 to 7.3.0 relates to an XML external entity expansion (XXE) in Solr config files (solrconfig.xml, schema.xml, managed-schema). In addition, Xinclude functionality provided in these config files is also affected in a similar way. The vulnerability can be used as XXE using file/ftp/http protocols in order to read arbitrary local files from the Solr server or the internal network. Users are advised to upgrade to either Solr 6.6.4 or Solr 7.3.1 releases both of which address the vulnerability. Once upgrade is complete, no other steps are required. Those releases only allow external entities and Xincludes that refer to local files / zookeeper resources below the Solr instance directory (using Solr's ResourceLoader); usage of absolute URLs is denied. Keep in mind, that external entities and XInclude are explicitly supported to better structure config files in large installations. Before Solr 6 this was no problem, as config files were not accessible through the APIs.","ecosystems":["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":"There is a XML external entity expansion (XXE) vulnerability in Apache Solr config files","id":"CVE-2018-8010","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2018"},"n_packages":4,"n_references":3,"next":{"headline":"mod_md, DoS via Coredumps on specially crafted requests","id":"CVE-2018-8011"},"packages":[{"ecosystem":"Maven","fixed":["6.6.4"],"introduced":["6.6.0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":null,"source":"GHSA-rc9v-h28f-jcmf"},{"ecosystem":"Maven","fixed":["6.6.4"],"introduced":["6.6.0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","source":"GHSA-rc9v-h28f-jcmf"},{"ecosystem":"Maven","fixed":["7.3.1"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":null,"source":"GHSA-rc9v-h28f-jcmf"},{"ecosystem":"Maven","fixed":["7.3.1"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","source":"GHSA-rc9v-h28f-jcmf"}],"prev":{"headline":"Path Traversal in Hadoop","id":"CVE-2018-8009"},"products":["Apache Solr"],"published":"2018-05-21","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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Apache Software Foundation"]},"summary":"An attacker can exploit XML external entity expansion in Solr config files to read arbitrary local files or internal network resources.","url":"https://insights.sbomify.com/CVE-2018-8010/"}