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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache | Solr | 8.1.1 and 8.2.0 for Linux | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
jas502n/CVE-2019-12409 ★ 104 · Nov 19, 2019
Apache Solr RCE (ENABLE_REMOTE_JMX_OPTS="true")
-
mbadanoiu/CVE-2019-12409 ★ 0 · Feb 12, 2025
CVE-2019-12409: RCE Vulnerability Due to Bad Defalut Config in Apache Solr
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.solr:solr-core | >= 8.1.1, < 8.3.0 | 8.3.0 | GHSA-2289-pqfq-6wx7 |
References
- [lucene-solr-user] 20191118 CVE-2019-12409: Apache Solr RCE vulnerability due to bad config default mailing-list
- [lucene-issues] 20191118 [jira] [Commented] (SOLR-13647) CVE-2019-12409: Apache Solr RCE vulnerability due to bad config default mailing-list
- [lucene-issues] 20191118 [jira] [Updated] (SOLR-13647) CVE-2019-12409: Apache Solr RCE vulnerability due to bad config default mailing-list
- [lucene-general] 20191118 CVE-2019-12409: Apache Solr RCE vulnerability due to bad config default mailing-list
- [announce] 20191118 [CVE-2019-12409] Apache Solr RCE vulnerability due to bad config default mailing-list
- https://support.f5.com/csp/article/K23720587?utm_source=f5support&%3Butm_medium=RSS
- https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2019-12409-RCE%20Vulnerability%20Due%20to%20Bad%20Defalut%20Config-Apache%20Solr