Live threats

All CVEs / Apache

CVE-2018-1308Apache Solr

High 7.5 No auth neededHigh EPSS

Priority
62
CVSS 3.0
7.5
EPSS
20.8%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Apr 9, 2018
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-611
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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 `&dataConfig=<inlinexml>` 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Solr.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.solr:solr-core ≥ 1.2 < 6.6.3 6.6.3 —
Maven org.apache.solr:solr-core ≥ 7.0.0 < 7.3.0 7.3.0 —

Per OSV / GitHub Advisories (GHSA-3pph-2595-cgfh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachesolr≥ 1.2 ≤ 6.6.2
apachesolr≥ 7.0.0 ≤ 7.2.1
debiandebian_linux7.0
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.