CVE-2021-29262 Misapplied Zookeeper ACLs can result in leakage of configured authentication and authorization settings
Misapplied Zookeeper ACLs in Apache Solr allow attackers to read sensitive authentication and authorization settings from the security.json node.
- 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-29262?
CVE-2021-29262 is a high-severity 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 starting Apache Solr versions prior to 8.8.2, configured with the SaslZkACLProvider or VMParamsAllAndReadonlyDigestZkACLProvider and no existing security.json znode, if the optional read-only user is configured then Solr would not treat that node as a sensitive path and would allow it to be readable. Additionally, with any ZkACLProvider, if the security.json is already present, Solr will not automatically update the ACLs.
Weakness: CWE-522
Which versions are affected by CVE-2021-29262?
3 open source packages ship an affected version, including org.apache.solr:solr-core and solr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.solr:solr-core Maven | All versions | 8.8.2 |
org.apache.solr:solr-core Maven | All versions | 8.8.2 |
solr Bitnami | All versions | 8.8.2 |
Products include Apache Solr.
How do I fix CVE-2021-29262?
Upgrade org.apache.solr:solr-core to 8.8.2 or later.
Is CVE-2021-29262 being exploited?
There is no known exploitation of CVE-2021-29262 in the wild and no public exploit code.
Other vulnerabilities in Apache Solr
- CVE-2019-17558 Apache Solr VelocityResponseWriter Plug-In Remote Code Execution
- CVE-2019-0193 Apache Solr DataImportHandler Code Injection
- CVE-2024-45216 Apache Solr: Authentication bypass possible using a fake URL Path ending
- CVE-2021-44548 Apache Solr information disclosure vulnerability through DataImportHandler
- CVE-2021-27905 SSRF vulnerability with the Replication handler
Sources
Also known as BIT-solr-2021-29262, GHSA-jgcr-fg3g-qvw8, UBUNTU-CVE-2021-29262.