CVE-2018-11802 Incorrect Authorization in Apache Solr

Medium 4.3 Published Updated

Attackers can bypass authorization checks in Apache Solr by sending requests for unhosted collections, allowing unauthorized access to data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-11802?

CVE-2018-11802 is a medium-severity missing authorization vulnerability in Apache Solr, published on 1 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Apache Solr, the cluster can be partitioned into multiple collections and only a subset of nodes actually host any given collection. However, if a node receives a request for a collection it does not host, it proxies the request to a relevant node and serves the request. Solr bypasses all authorization settings for such requests. This affects all Solr versions prior to 7.7 that use the default authorization mechanism of Solr (RuleBasedAuthorizationPlugin).

Weakness: CWE-863

Which versions are affected by CVE-2018-11802?

8 open source packages ship an affected version, including org.apache.solr:solr-core and org.apache.solr:solr-parent. It affects 1 product.

PackageAffectedFixed in
org.apache.solr:solr-core MavenAll versions6.6.6
org.apache.solr:solr-core MavenAll versions6.6.6
org.apache.solr:solr-core MavenFrom 7.0.07.7.0
org.apache.solr:solr-core MavenFrom 7.0.07.7.0
org.apache.solr:solr-parent MavenAll versions6.6.6
org.apache.solr:solr-parent MavenAll versions6.6.6
2 more packages
org.apache.solr:solr-parent MavenFrom 7.0.07.7.0
org.apache.solr:solr-parent MavenFrom 7.0.07.7.0

Products include Apache Solr.

How do I fix CVE-2018-11802?

Upgrade org.apache.solr:solr-core to a fixed version for your release line: 6.6.6 or 7.7.0.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2018-11802 being exploited?

There is no known exploitation of CVE-2018-11802 in the wild and no public exploit code.

Sources

Also known as GHSA-j346-h5wc-rw2m, UBUNTU-CVE-2018-11802.

Is CVE-2018-11802 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free