Arbitrary file upload in Apache Solr - CVE-2023-50386
Published: February 20, 2024 / Updated: May 23, 2024
Vulnerability details
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.
Affected software
Log Analysis
Primavera Unifier
watsonx.data
IBM OpenPages with Watson
Operational Decision Manager
How to mitigate CVE-2023-50386
Log Analysis - update to 1.3.8.2
watsonx.data - update to 2.1
IBM OpenPages with Watson - addressed in versions 8.3.0.3, 9.0.0.3
Operational Decision Manager - addressed in versions 8.10.5.1 Interim fix 54, 8.11.0.1 Interim fix 29, 8.11.1 Interim fix 21, 8.12.0.1 Interim fix 3
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Insecure deployment in Apache Solr Backup/Restore APIs
- Multiple vulnerabilities in IBM Operational Decision Manager
- Multiple vulnerabilities in Primavera Unifier
- Multiple vulnerabilities in IBM OpenPages with Watson
- Multiple vulnerabilities in IBM watsonx.data
- Multiple vulnerabilities in IBM Operations Analytics - Log Analysis