CVE-2021-29943 Apache Solr Unprivileged users may be able to perform unauthorized read/write to collections

Critical 9.1 Published Updated

Unprivileged users can perform unauthorized read/write operations on collections when using specific authentication plugins due to credential forwarding errors.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-29943?

CVE-2021-29943 is a critical missing authorization vulnerability in Apache Solr, published on 13 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

When using ConfigurableInternodeAuthHadoopPlugin for authentication, Apache Solr versions prior to 8.8.2 would forward/proxy distributed requests using server credentials instead of original client credentials. This would result in incorrect authorization resolution on the receiving hosts.

Weakness: CWE-863

Which versions are affected by CVE-2021-29943?

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

PackageAffectedFixed in
org.apache.solr:solr-parent MavenAll versions8.8.2
org.apache.solr:solr-parent MavenAll versions8.8.2
solr BitnamiAll versions8.8.2

Products include Apache Solr.

How do I fix CVE-2021-29943?

Upgrade org.apache.solr:solr-parent to 8.8.2 or later.

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

Is CVE-2021-29943 being exploited?

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

Sources

Also known as BIT-solr-2021-29943, GHSA-vf7p-j8x6-xvwp, UBUNTU-CVE-2021-29943.

Is CVE-2021-29943 in your software?

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

Check your SBOMs for free