Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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=` 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1308
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:35 UTC · Revision 1

Source evidence

CVE-2018-1308

core-osv · Original source

Published 9 Apr 2018, 13:29 UTC

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=` 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.

osv:CVE-2018-1308
Complete source record
{
  "id": "cf9e55d187c05010dd44e1fa82cd37198740949521d690d8af352d52b94aee1d",
  "url": "https://osv.dev/vulnerability/CVE-2018-1308",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1308",
    "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=` 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.",
    "evidence": "osv:CVE-2018-1308",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-1308",
      "aliases": [
        "CVE-2018-1308",
        "GHSA-3pph-2595-cgfh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/lucene-solr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "73c84accbd6f15a11cd97626991d7d59d2e5cbdb"
                },
                {
                  "last_affected": "df4de29b55369876769bb741d687e47b67ff9613"
                },
                {
                  "introduced": "3ba304b29825a94249c5145b3f5061e87b87d8f8"
                },
                {
                  "last_affected": "b2b6438b37073bee1fca40374e85bf91aa457c0b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.2"
                      },
                      {
                        "last_affected": "6.6.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "last_affected": "7.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1308.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/solr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "73c84accbd6f15a11cd97626991d7d59d2e5cbdb"
                },
                {
                  "last_affected": "df4de29b55369876769bb741d687e47b67ff9613"
                },
                {
                  "introduced": "3ba304b29825a94249c5145b3f5061e87b87d8f8"
                },
                {
                  "last_affected": "b2b6438b37073bee1fca40374e85bf91aa457c0b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.2"
                      },
                      {
                        "last_affected": "6.6.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "last_affected": "7.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1308.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:41.678942130Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E",
        "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://www.debian.org/security/2018/dsa-4194",
        "https://issues.apache.org/jira/browse/SOLR-11971"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1308",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435192,
  "published_at": "2018-04-09T13:29:00.82+00:00"
}