SB2024022041 - Insecure deployment in Apache Solr Backup/Restore APIs



SB2024022041 - Insecure deployment in Apache Solr Backup/Restore APIs

Published: February 20, 2024 Updated: May 23, 2024

Security Bulletin ID SB2024022041
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Arbitrary file upload (CVE-ID: CVE-2023-50386)

The vulnerability allows a remote user to compromise vulnerable system.

The vulnerability exists due to Solr ConfigSets accepts Java ".jar" and ".class" files to be uploaded through the ConfigSets API. Such files can be later included into a backup and executed during the restore procedure. When backing up Solr Collections, these configSet files would be saved to disk when using the LocalFileSystemRepository (the default for backups). If the backup was saved to a directory that Solr uses in its ClassPath/ClassLoaders, then the jar and class files would be available to use with any ConfigSet, trusted or untrusted. As a result, a remote user with backup permissions can include malicious files into the backup and execute arbitrary code on the system, when files are restored from the backup.


Remediation

Install update from vendor's website.