CVE-2018-1308Apache Solr
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Solr We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Solr.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | solr | ≥ 1.2 ≤ 6.6.2 |
| apache | solr | ≥ 7.0.0 ≤ 7.2.1 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- issues.apache.org Issue Tracking Third Party Advisory
- lists.apache.org
- lists.debian.org Third Party Advisory
- mail-archives.apache.org Mitigation Third Party Advisory
- www.debian.org Third Party Advisory