XML External Entity (XXE) Injection Affecting lucene-solr package, versions <3.6.2+dfsg-10+deb9u2build0.17.10.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
20.82% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1710-LUCENESOLR-330402
  • published9 Apr 2018
  • disclosed9 Apr 2018

Introduced: 9 Apr 2018

CVE-2018-1308  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Ubuntu:17.10 lucene-solr to version 3.6.2+dfsg-10+deb9u2build0.17.10.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lucene-solr package and not the lucene-solr package as distributed by Ubuntu. See How to fix? for Ubuntu:17.10 relevant fixed versions and status.

This vulnerability in Apache Solr 1.2 to 6.6.2 and 7.0.0 to 7.2.1 relates to an XML external entity expansion (XXE) in the &amp;dataConfig=&lt;inlinexml&gt; parameter of Solr's DataImportHandler. It can be used as XXE using file/ftp/http protocols in order to read arbitrary local files from the Solr server or the internal network.