ubuntu-cve-2017-12629
Vulnerability from osv_ubuntu
Published
2017-10-14 23:29
Modified
2025-09-08 16:44
Summary
Details

Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. Elasticsearch, although it uses Lucene, is NOT vulnerable to this. Note that the XML external entity expansion vulnerability occurs in the XML Query Parser which is available, by default, for any query request with parameters deftype=xmlparser and can be exploited to upload malicious data to the /upload request handler or as Blind XXE using ftp wrapper in order to read arbitrary local files from the Solr server. Note also that the second vulnerability relates to remote code execution using the RunExecutableListener available on all affected versions of Solr.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "liblucene3-contrib-java",
            "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "liblucene3-java",
            "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libsolr-java",
            "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "solr-common",
            "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "solr-jetty",
            "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "solr-tomcat",
            "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "lucene-solr",
        "purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-2ubuntu0.1~esm1?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.6.2+dfsg-2ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.6.2+dfsg-1",
        "3.6.2+dfsg-2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "liblucene3-contrib-java",
            "binary_version": "3.6.2+dfsg-8ubuntu0.1"
          },
          {
            "binary_name": "liblucene3-java",
            "binary_version": "3.6.2+dfsg-8ubuntu0.1"
          },
          {
            "binary_name": "libsolr-java",
            "binary_version": "3.6.2+dfsg-8ubuntu0.1"
          },
          {
            "binary_name": "solr-common",
            "binary_version": "3.6.2+dfsg-8ubuntu0.1"
          },
          {
            "binary_name": "solr-jetty",
            "binary_version": "3.6.2+dfsg-8ubuntu0.1"
          },
          {
            "binary_name": "solr-tomcat",
            "binary_version": "3.6.2+dfsg-8ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "lucene-solr",
        "purl": "pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-8ubuntu0.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.6.2+dfsg-8ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.6.2+dfsg-7",
        "3.6.2+dfsg-8"
      ]
    }
  ],
  "aliases": [],
  "details": "Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. Elasticsearch, although it uses Lucene, is NOT vulnerable to this. Note that the XML external entity expansion vulnerability occurs in the XML Query Parser which is available, by default, for any query request with parameters deftype=xmlparser and can be exploited to upload malicious data to the /upload request handler or as Blind XXE using ftp wrapper in order to read arbitrary local files from the Solr server. Note also that the second vulnerability relates to remote code execution using the RunExecutableListener available on all affected versions of Solr.",
  "id": "UBUNTU-CVE-2017-12629",
  "modified": "2025-09-08T16:44:21Z",
  "published": "2017-10-14T23:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-12629"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1501529"
    },
    {
      "type": "REPORT",
      "url": "http://mail-archives.apache.org/mod_mbox/lucene-dev/201710.mbox/%3CCAKrJsP=twErMhzf+FtUMOpCk7+r0pK35hAqoqf_ZtvEoshTgjQ@mail.gmail.com%3E"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4259-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2017-12629"
    }
  ],
  "related": [
    "USN-4259-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "high",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2017-12629"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…