Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2019-0193: Remote Code Execution in Apache Solr DataImportHandler

Published Aug 1, 2019 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.2High · v3.1
EPSS83.3%100th percentile
CISA KEVYesAdded Dec 10, 2021
In the wildActivePer CISA KEV
Vendors
Debian ProjectApache Software Foundation
IdentifiersCVE-2019-0193CWE-94 · Improper Control of Generation of…

CVE-2019-0193 is a remote code execution vulnerability in Apache Solr's optional DataImportHandler (DIH) module. DIH accepts an entire import configuration through the dataConfig request parameter, a feature used by the administration interface for debugging and development. Because import configurations can contain scripts, an attacker able to submit a malicious configuration to an accessible DIH endpoint can execute arbitrary code in the Solr process context. Starting with Solr 8.2.0, accepting this parameter requires explicitly enabling the Java system property enable.dih.dataConfigParam.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the confidentiality, integrity, and availability of resources accessible to the Solr service account. Attackers can execute commands, access or modify application data, and install malicious software. H2Miner/Kinsing and Sysrv-hello have incorporated exploitation of this vulnerability into campaigns deploying cryptocurrency miners and botnet payloads.

Mitigation

If you can’t patch tonight, do this now.

Disable or remove DataImportHandler if it is unnecessary. Otherwise, restrict access to its endpoints to trusted administrative clients through network controls and authentication and authorization policies. Do not expose DIH debugging functionality to untrusted users.

Remediation

Patch, then assume compromise.

Upgrade to a supported Apache Solr release incorporating the restriction introduced in version 8.2.0. Leave the Java system property enable.dih.dataConfigParam unset or false so that requests cannot supply DIH configurations through dataConfig. Remove any explicit setting that enables this feature unless it is strictly required and appropriately isolated.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2019-0193This repository contains a Python exploit script (CVE-2019-0193.py) and a README for CVE-2019-0193, a remote code execution vulnerability in Apache Solr's DataImport Handler (affecting versions prior to 8.2.0). The exploit works by enumerating available Solr cores via the admin API, then sending a specially crafted data import request containing a malicious <dataConfig> XML. This XML includes a <script> block that executes arbitrary system commands on the server using Java's Runtime.exec(). The script takes two arguments: the target Solr base URL and the command to execute. The README provides usage instructions, example payloads, and references. The main attack vector is network-based, targeting the Solr admin HTTP interface. The endpoints used are all under the /solr/ path, specifically targeting the admin/cores and dataimport handlers. The exploit is operational, providing real RCE if the target is vulnerable and accessible.jas502n · Disclosed Aug 9, 2019 · python · networkOperationalsolr_exploitThis repository provides detailed proof-of-concept (POC) exploits for Apache Solr remote code execution vulnerabilities, specifically targeting CVE-2019-0193. The repository contains two main markdown files: one describing RCE via the Velocity template mechanism, and another (README.md) outlining two exploit methods using Solr's DataImportHandler with either URLDataSource or ContentStreamDataSource. The exploits work by sending crafted HTTP requests to the Solr admin and dataimport endpoints, enabling dangerous configuration options and injecting Java code that executes arbitrary system commands on the server. The output of these commands is returned in the HTTP response, providing clear evidence of successful exploitation. The included XML file (demo.xml) serves as a benign data source for the URLDataSource method. The repository is structured as documentation and POC scripts, with no standalone executable code, but provides all necessary payloads and request formats for manual or automated exploitation. The attack vector is network-based, requiring HTTP access to the Solr admin and dataimport endpoints. Multiple fingerprintable endpoints are documented, including those for checking vulnerable modules and triggering the exploit. The repository is a high-quality resource for security researchers and penetration testers to verify and exploit this class of Solr vulnerabilities.1135 · Disclosed Aug 12, 2019 · markdown · xml · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationSolrapplication
Debian ProjectDebian Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2019-0193 exploited in the wild?
Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Dec 10, 2021.
Is there a public exploit for CVE-2019-0193?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2019-0193, the earliest disclosed Aug 9, 2019.
Is there a patch for CVE-2019-0193?
Upgrade to a supported Apache Solr release incorporating the restriction introduced in version 8.2.0. Leave the Java system property enable.dih.dataConfigParam unset or false so that requests cannot supply DIH configurations through dataConfig.
What products are affected by CVE-2019-0193?
Apache Software Foundation Solr and Debian Project Debian Linux.
How severe is CVE-2019-0193?
CVE-2019-0193 has a CVSS v3.1 score of 7.2 (High) and an EPSS score of 83.3% (100th percentile) as of Nov 19, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware7Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.