• Home
  • Alerta de Ataque (CVE-2019-0193)

Alerta de Ataque (CVE-2019-0193)

Care Telecom 4 septiembre, 2019 0 Comments

1 Vulnerability Overview

Picus Security Inc. @PicusSecurity · 23 ago. Recently, Apache Software Foundation (ASF) issued a security bulletin to announce the fix of the remote arbitrary code execution vulnerability (CVE-2019-0193) in Apache Solr. This vulnerability exists in the DataImportHandler module, a common module used to import data from databases or other sources. The whole DIH configuration of this module can come from the dataConfig parameter included in an external request. As a DIH configuration can contain scripts, this parameter is a security risk.

An attacker could exploit this vulnerability to cause arbitrary code execution via a malicious request that contains a carefully crafted dataConfig parameter. Users of this software are advised to upgrade Apache Solr to a secure version to protect against this vulnerability.

Reference:

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

2 Scope of Impact

Affected Versions:

  • Apache Solr < 8.2.0

Unaffected Versions:

  • Apache Solr >= 8.2.0

3 Vulnerability Detection

User can check the current Solr version on the Solr administration dashboard. If the current version is affected and lacks the related protection configuration, this version is vulnerable and users are advised to take protection measures as soon as possible.

4 Mitigation

4.1 Official Fix

Starting with Solr 8.2.0, the use of the dataConfig parameter requires setting the Java system property “enable.dih.dataconfigparam” to “true”. Users can upgrade Solr to 8.2.0 or later to protect against this vulnerability:

Download link: http://lucene.apache.org/solr/downloads.html

4.2 Workaround

  1. Users can edit solrconfig.xml to configure all DataImportHandler usages with an “invariants” section listing the “dataConfig” parameter set to an empty string.

<str name=”config”></str>

  1. Ensure that network settings are configured so that only trusted traffic communicates with Solr, especially to the DIH request handler.


STATEMENT:  This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.