Remote code execution in Apache Solr DataImportHandler



Published: 2019-08-12
Severity Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2019-0193
CWE ID CWE-749
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Apache Solr
Client/Desktop applications / Other client software

Vendor Apache Foundation

Security Advisory

This security advisory describes one medium risk vulnerability.

1) Exposed dangerous method or function

Severity: Medium

CVSSv3: 7.1 [CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2019-0193

CWE-ID: CWE-749 - Exposed Dangerous Method or Function

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to DataImportHandler module in Apache Solr 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. A remote attacker can send a specially crafted reuqest to the affected application and execute arbitrary code on the target system.


Mitigation

Install updates from vendor's website.

Vulnerable software versions

Apache Solr: 1.1, 1.2, 1.3, 1.3.0, 1.4, 1.4.0, 1.4.1, 3.1, 3.1.0, 3.2, 3.2.0, 3.3, 3.3.0, 3.4, 3.4.0, 3.5, 3.5.0, 3.6, 3.6.0, 3.6.1, 3.6.2, 4.0, 4.0.0, 4.1, 4.1.0, 4.2, 4.2.0, 4.2.1, 4.3, 4.3.0, 4.3.1, 4.4, 4.4.0, 4.5, 4.5.0, 4.5.1, 4.6, 4.6.0, 4.6.1, 4.7, 4.7.0, 4.7.1, 4.7.2, 4.8, 4.8.0, 4.8.1, 4.9, 4.9.0, 4.9.1, 4.10, 4.10.0, 4.10.1, 4.10.2, 4.10.3, 4.10.4, 5.0.0, 5.1, 5.1.0, 5.2, 5.2.0, 5.2.1, 5.3, 5.3.0, 5.3.1, 5.3.2, 5.4, 5.4.0, 5.4.1, 5.5, 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 6.0, 6.0.0, 6.0.1, 6.1, 6.1.0, 6.2, 6.2.0, 6.2.1, 6.3, 6.3.0, 6.4, 6.4.0, 6.4.1, 6.4.2, 6.5, 6.5.0, 6.5.1, 6.6, 6.6.0, 6.6.1, 6.6.2, 6.6.3, 6.6.4, 6.6.5, 6.6.6, 7.0.0, 7.0.1, 7.1, 7.1.0, 7.2, 7.2.0, 7.2.1, 7.3.0, 7.3.1, 7.4.0, 7.5.0, 7.6.0, 7.7.0, 7.7.1, 7.7.2, 8.0.0, 8.1.0, 8.1.1

CPE External links

https://issues.apache.org/jira/browse/SOLR-13669

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.