CVE-2020-13941
solr: replication handler allows a read-write operations to any location the solr user can access
Overview
Description
Reported in SOLR-14515 (private) and fixed in SOLR-14561 (public), released in Solr version 8.6.0. The Replication handler (https://lucene.apache.org/solr/guide/8_6/index-replication.html#http-api-commands-for-the-replicationhandler) allows commands backup, restore and deleteBackup. Each of these take a location parameter, which was not validated, i.e you could read/write to any location the solr user can access.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-20
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | solr | <8.6.0 | 8.6.0 |
| Maven | org.apache.solr:solr-parent | <8.6.0 | 8.6.0 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | lucene-solr | affected |
| 11 | lucene-solr | 3.6.2+dfsg-23 |
| 12 | lucene-solr | 3.6.2+dfsg-23 |
| 13 | lucene-solr | 3.6.2+dfsg-23 |
| 14 | lucene-solr | 3.6.2+dfsg-23 |
| 9 | lucene-solr | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| lucene-solr | 3.6.2+dfsg-23 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-13941
- github.com https://github.com/apache/lucene-solr/commit/936b9d770e769c9018a9f408d576f52e7c4e8be2
- issues.apache.org https://issues.apache.org/jira/browse/SOLR-14561
- lists.apache.org https://lists.apache.org/thread.html/r1d4a247329a8478073163567bbc8c8cb6b49c6bfc2bf58153a857af1%40%3Ccommits.druid.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r1d4a247329a8478073163567bbc8c8cb6b49c6bfc2bf58153a857af1@%3Ccommits.druid.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rbcd9dff009ed19ffcc2b09784595fc1098fc802a5472f81795f893be%40%3Ccommits.lucene.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rbcd9dff009ed19ffcc2b09784595fc1098fc802a5472f81795f893be@%3Ccommits.lucene.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc400db37710ee79378b6c52de3640493ff538c2beb41cefdbbdf2ab8%40%3Ccommits.submarine.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc400db37710ee79378b6c52de3640493ff538c2beb41cefdbbdf2ab8@%3Ccommits.submarine.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf54e7912b7d2b72c63ec54a7afa4adcbf16268dcc63253767dd67d60%40%3Cgeneral.lucene.apache.org%3E
Show all 14 references
- lucene.apache.org https://lucene.apache.org/solr/guide/8_6/index-replication.html#http-api-commands-for-the-replicationhandler
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-13941
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-13941
- www.openwall.com https://www.openwall.com/lists/oss-security/2020/08/15/1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.