{"answers":{"affected":"2 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-2019-12409 in the wild and no public exploit code.","fix":"Upgrade org.apache.solr:solr-core to 8.3.0 or later.","what":"CVE-2019-12409 is a critical vulnerability in Apache Solr, published on 18 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-12409 and fix it if it is affected.\n\nWhat it is: CVE-2019-12409 is a critical vulnerability in Apache Solr, published on 18 Nov 2019. 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-2019-12409 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.solr:solr-core (Maven): affected from 8.1.1; fixed in 8.3.0\n- org.apache.solr:solr-core (Maven): affected from 8.1.1; fixed in 8.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-2019-12409/ (Markdown: https://insights.sbomify.com/CVE-2019-12409/index.md)","id":"CVE-2019-12409","markdown":"https://insights.sbomify.com/CVE-2019-12409/index.md","name":"CVE-2019-12409","record":{"aliases":["GHSA-2289-pqfq-6wx7"],"analysis":{"component_type":"server_software","fix_type":"configuration_change","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Solr search engine","requires_auth":"none","summary":"Attackers can execute arbitrary code on Apache Solr servers if the default JMX configuration is exposed without authentication.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"solr","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","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-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"The 8.1.1 and 8.2.0 releases of Apache Solr contain an insecure setting for the ENABLE_REMOTE_JMX_OPTS configuration option in the default solr.in.sh configuration file shipping with Solr. If you use the default solr.in.sh file from the affected releases, then JMX monitoring will be enabled and exposed on RMI_PORT (default=18983), without any authentication. If this port is opened for inbound traffic in your firewall, then anyone with network access to your Solr nodes will be able to access JMX, which may in turn allow them to upload malicious code for execution on the Solr server.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2019-11-19","github_poc":2,"max_poc_stars":104,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-11-19T08:53:56Z","kind":"github_poc","ref":"https://github.com/jas502n/CVE-2019-12409","stars":104,"title":"Apache Solr RCE (ENABLE_REMOTE_JMX_OPTS=\"true\")"},{"date":"2025-02-12T17:32:56Z","kind":"github_poc","ref":"https://github.com/mbadanoiu/CVE-2019-12409","stars":0,"title":"CVE-2019-12409: RCE Vulnerability Due to Bad Defalut Config in Apache Solr"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Unrestricted upload of file with dangerous type in Apache Solr","id":"CVE-2019-12409","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"misconfiguration","year":"2019"},"n_packages":2,"n_references":7,"next":{"headline":"Missing Initialization of Resource in Apache Arrow","id":"CVE-2019-12410"},"packages":[{"ecosystem":"Maven","fixed":["8.3.0"],"introduced":["8.1.1"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":null,"source":"GHSA-2289-pqfq-6wx7"},{"ecosystem":"Maven","fixed":["8.3.0"],"introduced":["8.1.1"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","source":"GHSA-2289-pqfq-6wx7"}],"prev":{"headline":"Missing Initialization of Resource in Apache Arrow","id":"CVE-2019-12408"},"products":["Solr"],"published":"2019-11-18","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"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache"]},"summary":"Attackers can execute arbitrary code on Apache Solr servers if the default JMX configuration is exposed without authentication.","url":"https://insights.sbomify.com/CVE-2019-12409/"}