CVE-2017-7660: Solr core Apache Solr Insecure Inter-node Communication Vulnerability

HIGH
Advisory Identifier: GHSA-c82r-qg3w-q5mv
CVSS 7.5
CWE-287
Published
Advisory Summary

CVE-2017-7660 is a HIGH (CVSS 7.5) apache solr insecure inter-node communication vulnerability (CWE-287: Improper Authentication) affecting Solr core libraries in the Maven ecosystem. The issue involves apache solr insecure inter-node communication. Remediation is available by upgrading affected packages to version 5.5.5, 6.6.0.

CVE-2017-7660 at a Glance

CVE Identifier CVE-2017-7660
GHSA Identifier GHSA-c82r-qg3w-q5mv
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-287: Improper Authentication
Affected Product Solr core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2017-7660

To remediate this vulnerability, upgrade all affected Solr core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.solr:solr-core fixed: 5.5.5
<dependency>
    <groupId>org.apache.solr</groupId>
    <artifactId>solr-core</artifactId>
    <version>5.5.5</version>
</dependency>
org.apache.solr:solr-core fixed: 6.6.0
<dependency>
    <groupId>org.apache.solr</groupId>
    <artifactId>solr-core</artifactId>
    <version>6.6.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.solr

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2017-7660, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.solr

Analyze the terminal output to locate any version of Solr core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.5.5), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.solr command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Solr core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Apache Solr uses a PKI based mechanism to secure inter-node communication when security is enabled. It is possible to create a specially crafted node name that does not exist as part of the cluster and point it to a malicious node. This can trick the nodes in cluster to believe that the malicious node is a member of the cluster. So, if Solr users have enabled BasicAuth authentication mechanism using the BasicAuthPlugin or if the user has implemented a custom Authentication plugin, which does not implement either "HttpClientInterceptorPlugin" or "HttpClientBuilderPlugin", his/her servers are vulnerable to this attack. Users who only use SSL without basic authentication or those who use Kerberos are not affected.

CVE-2017-7660 Affected Solr core Versions

2 component(s)
Fixed Versions:
5.5.56.6.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.solr:solr-core
Maven
≥ 5.3.0
< 5.5.5
5.5.5
org.apache.solr:solr-core
Maven
≥ 6.0.0
< 6.6.0
6.6.0

References

Frequently Asked Questions

What is CVE-2017-7660?
CVE-2017-7660 is a security vulnerability in Solr core involving Apache Solr insecure inter-node communication under CWE-287: Improper Authentication.
Which Solr core versions are affected?
Affected versions include releases prior to 5.5.5, 6.6.0 across affected packages: org.apache.solr:solr-core.
What version fixes CVE-2017-7660?
Upgrading to 5.5.5, 6.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is solr-core affected?
Yes, org.apache.solr:solr-core is affected in releases prior to 5.5.5, 6.6.0. Upgrade your dependency to 5.5.5, 6.6.0 or later.
What is the CVSS score of CVE-2017-7660?
CVE-2017-7660 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2017-7660?
CVE-2017-7660 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2017-7660?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.solr'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c82r-qg3w-q5mv",
  "modified" : "2022-11-08T23:09:57Z",
  "published" : "2022-05-14T01:56:08Z",
  "aliases" : [ "CVE-2017-7660" ],
  "summary" : "Apache Solr insecure inter-node communication",
  "details" : "Apache Solr uses a PKI based mechanism to secure inter-node communication when security is enabled. It is possible to create a specially crafted node name that does not exist as part of the cluster and point it to a malicious node. This can trick the nodes in cluster to believe that the malicious node is a member of the cluster. So, if Solr users have enabled BasicAuth authentication mechanism using the BasicAuthPlugin or if the user has implemented a custom Authentication plugin, which does not implement either \"HttpClientInterceptorPlugin\" or \"HttpClientBuilderPlugin\", his/her servers are vulnerable to this attack. Users who only use SSL without basic authentication or those who use Kerberos are not affected.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.solr:solr-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.3.0"
      }, {
        "fixed" : "5.5.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.solr:solr-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-7660"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/SOLR-10624"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/o0g7vpz5sz4yy0pyf1z94vkpv40x6h44"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20181127-0003"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-08T23:09:57Z",
    "nvd_published_at" : "2017-07-07T19:29:00Z"
  }
}