CVE-2019-0193Apache Solr DataImportHandler Code Injection Vulnerability
CVSS score
7.2
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
83.3%
83.3% chance of exploitation in the next 30 days, higher than 99.7% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 10 Dec 2021.
US federal deadline to fix: 10 Jun 2022.
Official description
In Apache Solr, the DataImportHandler, an optional but popular module to pull in data from databases and other sources, has a feature in which the whole DIH configuration can come from a request's "dataConfig" parameter. The debug mode of the DIH admin screen uses this to allow convenient debugging / development of a DIH config. Since a DIH config can contain scripts, this parameter is a security risk. Starting with version 8.2.0 of Solr, use of this parameter requires setting the Java System property "enable.dih.dataConfigParam" to true.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 10 Dec 2021.
US federal agencies must fix it by 10 Jun 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Apache Solr, Debian Linux and compare its version with the affected versions.
Update to a fixed version
- Update Solr to 7.7.3, 8.1.2 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Solr | < 7.7.3 · ≥ 8.1.0, < 8.1.2 |
| Debian Debian Linux | 8.0 · 9.0 |
| Apache Apache Solr | Apache Solr all prior to 8.2.0 |
Weakness
- CWE-94 code injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2019-0193 being exploited?
Yes. CISA added CVE-2019-0193 to its Known Exploited Vulnerabilities catalog on 10 Dec 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 83.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2019-0193?
CVE-2019-0193 has a CVSS 3.1 base score of 7.2 (high).
Which versions are affected?
Apache Solr (< 7.7.3; ≥ 8.1.0, < 8.1.2), Debian Debian Linux (8.0; 9.0), Apache Apache Solr (Apache Solr all prior to 8.2.0)
Is there a patch for CVE-2019-0193?
The official record links to vendor advisories or patches; see “What to do” above.
References
- issues.apache.org/jira/browse/SOLR-13669(Mitigation, Vendor Advisory)
- lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3%40%3Ccommits.nifi.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/1addbb49a1fc0947fb32ca663d76d93cfaade35a4848a76d4b4ded9c%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/42cc4d334ba33905b872a0aa00d6a481391951c8b1450f01b077ce74%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/55880d48e38ba9e8c41a3b9e41051dbfdef63b86b0cfeb32967edf03%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/6f2d61bd8732224c5fd3bdd84798f8e01e4542d3ee2f527a52a81b83%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/7143983363f0ba463475be4a8b775077070a08dbf075449b7beb51ee%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/9b0e7a7e3e18d0724f511403b364fc082ff56e3134d84cfece1c82fc%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/a6e3c09dba52b86d3a1273f82425973e1b0623c415d0e4f121d89eab%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/e85f735fad06a0fb46e74b7e6e9ce7ded20b59637cd9f993310f814d%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r19d23e8640236a3058b4d6c23e5cd663fde182255f5a9d63e0606a66%40%3Cdev.lucene.apache.org%3E(Issue Tracking, Mailing List)
- lists.apache.org/thread.html/r1d4a247329a8478073163567bbc8c8cb6b49c6bfc2bf58153a857af1%40%3Ccommits.druid.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r339865b276614661770c909be1dd7e862232e3ef0af98bfd85686b51%40%3Cdev.lucene.apache.org%3E(Issue Tracking, Mailing List)
- lists.apache.org/thread.html/r33aed7ad4ee9833c4190a44e2b106efd2deb19504b85e012175540f6%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314%40%3Cusers.solr.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef%40%3Cusers.solr.apache.org%3E(Issue Tracking, Mailing List)
- lists.apache.org/thread.html/rb34d820c21f1708c351f9035d6bc7daf80bfb6ef99b34f7af1d2f699%40%3Cissues.lucene.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/rc400db37710ee79378b6c52de3640493ff538c2beb41cefdbbdf2ab8%40%3Ccommits.submarine.apache.org%3E(Mailing List)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.