CVE-2018-1308 in the critical feed json
There is a XML external entity expansion (XXE) vulnerability in Apache Solr
published 2018-04-09 8 y ago modified 2026-06-17 4 mo ago also GHSA-3pph-2595-cgfh , EUVD-2018-0489
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 20.8%
- EPSS 20.8% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.solr:solr-core 6.6.3, 7.3.0
- lucene-solr Debian 14, Debian 13, Debian 12 3.6.2+dfsg-12
debian advisories DEBIAN-CVE-2018-1308
- lucene-solr Ubuntu Pro 14.04 LTS 3.6.2+dfsg-2ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2018-1308
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1308 updated cvss 7.5
Solr: XML external entity expansion in handler/dataimport/DataImporter.java allows remote attackers to read arbitrary files
-
Red Hat JBoss Developer Studio 11 solr-core solr-core Red Hat Fuse 7 camel Red Hat JBoss Data Grid 6 solr-core solr-core Red Hat JBoss Data Virtualization 6 solr-core solr-core Red Hat JBoss Enterprise Application Platform 6 solr-core solr-core Red Hat JBoss Fuse 6 camelnot affected: vulnerable code not present
+3 more productsfewer
Red Hat JBoss Fuse Integration Service 2 solr solr Red Hat JBoss Fuse Service Works 6 solr-core solr-core Red Hat JBoss Portal 6 solr-core solr-core
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
20.82% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.solr:solr-core | >=1.2, <6.6.3 >=7.0.0, <7.3.0 |
6.6.3 7.3.0 |
Affected products
- Apache Software Foundation Apache Solr
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/apache/lucene-solr/commit/3530397f1777332872eac2760f9aa0e2ae1d7450
web
-
github.com
/apache/lucene-solr/commit/739a7933
web
-
github.com
/apache/lucene-solr/commit/dd3be31f7062dcb2f3b2d7f0e89df29e197dee63
web
-
debian.org
/security/2018/dsa-4194
vendor-advisory, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/04/msg00025.html
mailing-list, web, third-party-advisory
-
mail-archives.apache.org
/mod_mbox/www-announce/201804.mbox/%3C000001d3cf68%245ac69af0%241053d0d0%24%40apache.org%3E
mailing-list, web, mitigation, third-party-advisory
-
issues.apache.org
/jira/browse/SOLR-11971
web, issue-tracking, third-party-advisory
-
lists.apache.org
/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-1308
advisory
-
github.com
/advisories/GHSA-3pph-2595-cgfh
advisory
-
lists.apache.org
/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
web
Sources
- CVE List CVE-2018-1308
- GitHub Advisory GHSA-3pph-2595-cgfh
- NVD CVE-2018-1308
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.