Patchfirst
CVE-2021-27905 Public exploit EPSS 93.1%

SSRF vulnerability with the Replication handler

Apache Software Foundation · Apache Solr

Official description · CVE.org

The ReplicationHandler (normally registered at "/replication" under a Solr core) in Apache Solr has a "masterUrl" (also "leaderUrl" alias) parameter that is used to designate another ReplicationHandler on another Solr core to replicate index data into the local core. To prevent a SSRF vulnerability, Solr ought to check these parameters against a similar configuration it uses for the "shards" parameter. Prior to this bug getting fixed, it did not. This problem affects essentially all Solr versions prior to it getting fixed in 8.8.2.

Breakdown
25.6 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) appeared 8 days after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+8 days

6 fixes in solr-parent over 21 months. The latest fix listed for solr-parent is 8.11.1.

Fixes in solr-parentMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 7.7.0CVE-2018-118021 Apr 2020
  2. 8.6.0CVE-2020-1394117 Aug 2020
  3. 8.6.3CVE-2020-1395713 Oct 2020
  4. 8.8.2CVE-2021-2790513 Apr 2021
  5. 8.8.2CVE-2021-2994313 Apr 2021
  6. 8.11.1CVE-2021-4454823 Dec 2021Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Detection

1 rule for this CVE · 0 general rules for its techniques

Rules for this CVE

1 that reference CVE-2021-27905 directly.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.apache.solr:solr-parent.

Mavenorg.apache.solr:solr-parentGHSA-5phw-3jrp-3vj8

Upgrade to 8.8.2 or later

Fixes this CVE and 1 other known vulnerability in this package (CVE-2020-13957).

Set the version to 8.8.2 or later in your pom.xml or build.gradle.

The first fix for CVE-2021-27905.

Affected versions

If you runUpgrade to
All versions before 8.8.28.8.2

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

12 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close