{"schemaVersion":3,"id":"CVE-2018-1308","aliases":["UBUNTU-CVE-2018-1308","DEBIAN-CVE-2018-1308","DLA-1360-1","DSA-4194-1","GHSA-3pph-2595-cgfh"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-04-09T13:00:00.000Z","modified":"2024-09-17T02:47:11.497Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.20823,"percentile":0.97523,"severity":"high","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.20823},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.21192,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.21192,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.21192,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.21192,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.08638,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.20823,"percentile":0.97523}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.08638,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.20823,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.20823,"percentile":0.97523}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"apache software foundation","product":"apache solr","name":"Apache Solr","label":"apache solr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.2 to 6.6.2","noFixRecorded":false,"fixedIn":null},{"text":"7.0.0 to 7.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.2 to 6.6.2 | 7.0.0 to 7.2.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_solr"},{"vendor":"apache","product":"solr","name":"Solr","label":"solr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.2, ≤ 6.6.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, ≤ 7.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.2, ≤ 6.6.2 | ≥ 7.0.0, ≤ 7.2.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"solr","label":"Apache Solr","category":"server-app"}},"hubHref":"/vendor/apache/solr"},{"vendor":"debian","product":"lucene-solr","name":"lucene-solr","label":"lucene-solr","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lucene-solr","purlType":"deb","versions":[{"text":"< 3.6.2+dfsg-12","noFixRecorded":false,"fixedIn":null},{"text":"< 3.6.2+dfsg-5+deb8u2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.6.2+dfsg-10+deb9u2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.6.0+dfsg-1+deb7u4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.2+dfsg-12 | < 3.6.2+dfsg-5+deb8u2 | < 3.6.2+dfsg-10+deb9u2 | < 3.6.0+dfsg-1+deb7u4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lucene-solr","name":"lucene-solr","label":"lucene-solr","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lucene-solr","purlType":"deb","versions":[{"text":"< 3.6.2+dfsg-2ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 3.6.2+dfsg-2ubuntu0.1~esm2 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0 | 9.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"org.apache.solr","product":"solr-core","name":"org.apache.solr:solr-core","label":"solr-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.solr/solr-core","purlType":"maven","versions":[{"text":"≥ 1.2, < 6.6.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.2, < 6.6.3 | ≥ 7.0.0, < 7.3.0","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.debian.org/security/2018/dsa-4194","label":"www.debian.org/security/2018/dsa-4194","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory","WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00025.html","label":"lists.debian.org/debian-lts-announce/2018/04/msg00025.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","WEB"]},{"url":"https://mail-archives.apache.org/mod_mbox/www-announce/201804.mbox/%3C000001d3cf68%245ac69af0%241053d0d0%24%40apache.org%3E","label":"mail-archives.apache.org/mod_mbox/…","hostname":"mail-archives.apache.org","tags":["Mailing List","X Refsource MLIST","Mitigation","Third Party Advisory","REPORT","WEB"]},{"url":"https://issues.apache.org/jira/browse/SOLR-11971","label":"issues.apache.org/jira/browse/SOLR-11971","hostname":"issues.apache.org","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","REPORT","WEB"]},{"url":"https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://ubuntu.com/security/CVE-2018-1308","label":"ubuntu.com/security/CVE-2018-1308","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2018/04/08/3","label":"www.openwall.com/lists/oss-security/2018/04/08/3","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1308","label":"www.cve.org/CVERecord?id=CVE-2018-1308","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1308","label":"security-tracker.debian.org/tracker/CVE-2018-1308","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1308","label":"nvd.nist.gov/vuln/detail/CVE-2018-1308","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/lucene-solr/commit/3530397f1777332872eac2760f9aa0e2ae1d7450","label":"github.com/apache/lucene-solr/commit/3530397f1777332872eac2760f9aa0e2ae1d7450","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/lucene-solr/commit/739a7933","label":"github.com/apache/lucene-solr/commit/739a7933","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/lucene-solr/commit/dd3be31f7062dcb2f3b2d7f0e89df29e197dee63","label":"github.com/apache/lucene-solr/commit/dd3be31f7062dcb2f3b2d7f0e89df29e197dee63","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-3pph-2595-cgfh","label":"github.com/advisories/GHSA-3pph-2595-cgfh","hostname":"github.com","tags":["Advisory"]},{"url":"https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-04-09T13:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T02:47:11.497Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:54:47.980Z","stale":false,"partial":false}}