UBUNTU-CVE-2017-12629

Source
https://ubuntu.com/security/CVE-2017-12629
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12629.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-12629
Related
Published
2017-10-14T23:29:00Z
Modified
2017-10-14T23:29:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / lucene-solr

Package

Name
lucene-solr
Purl
pkg:deb/ubuntu/lucene-solr?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.2+dfsg-2ubuntu0.1~esm1

Affected versions

3.*

3.6.2+dfsg-1
3.6.2+dfsg-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm1",
            "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": "liblucene3-java-doc"
        },
        {
            "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"
        }
    ]
}

Ubuntu:16.04:LTS / lucene-solr

Package

Name
lucene-solr
Purl
pkg:deb/ubuntu/lucene-solr?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.2+dfsg-8ubuntu0.1

Affected versions

3.*

3.6.2+dfsg-7
3.6.2+dfsg-8

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.6.2+dfsg-8ubuntu0.1",
            "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": "liblucene3-java-doc"
        },
        {
            "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"
        }
    ]
}

Ubuntu:18.04:LTS / lucene-solr

Package

Name
lucene-solr
Purl
pkg:deb/ubuntu/lucene-solr?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.2+dfsg-11

Affected versions

3.*

3.6.2+dfsg-10

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.6.2+dfsg-11",
            "binary_name": "liblucene3-contrib-java"
        },
        {
            "binary_version": "3.6.2+dfsg-11",
            "binary_name": "liblucene3-java"
        },
        {
            "binary_version": "3.6.2+dfsg-11",
            "binary_name": "liblucene3-java-doc"
        },
        {
            "binary_version": "3.6.2+dfsg-11",
            "binary_name": "libsolr-java"
        },
        {
            "binary_version": "3.6.2+dfsg-11",
            "binary_name": "solr-common"
        },
        {
            "binary_version": "3.6.2+dfsg-11",
            "binary_name": "solr-jetty"
        },
        {
            "binary_version": "3.6.2+dfsg-11",
            "binary_name": "solr-tomcat"
        }
    ]
}