Apache Solr: ConfigSets created during a backup restore command are trusted implicitly
Apache Software Foundation Apache Solr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.solr:solr Maven |
|
|
Original description
Insecure Default Initialization of Resource vulnerability in Apache Solr.
New ConfigSets that are created via a Restore command, which copy a configSet from the backup and give it a new name, are created without setting the "trusted" metadata. ConfigSets that do not contain the flag are trusted implicitly if the metadata is missing, therefore this leads to "trusted" ConfigSets that may not have been created with an Authenticated request. "trusted" ConfigSets are able to load custom code into classloaders, therefore the flag is supposed to only be set when the request that uploads the ConfigSet is Authenticated & Authorized.