CVE-2023-50386 Apache Solr: Backup/Restore APIs allow for deployment of executables in malicious ConfigSets
Apache Solr: 악성 설정에서 실행 파일을 배포할 수 있는 백업/복원 API
설명
Improper Control of Dynamically-Managed Code Resources, Unrestricted Upload of File with Dangerous Type, Inclusion of Functionality from Untrusted Control Sphere vulnerability in Apache Solr.This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.4.1. In the affected versions, Solr ConfigSets accepted Java jar and class files to be uploaded through the ConfigSets API. 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. When Solr is run in a secure way (Authorization enabled), as is strongly suggested, this vulnerability is limited to extending the Backup permissions with the ability to add libraries. Users are recommended to upgrade to version 8.11.3 or 9.4.1, which fix the issue. In these versions, the following protections have been added: * Users are no longer able to upload files to a configSet that could be executed via a Java ClassLoader. * The Backup API restricts saving backups to directories that are used in the ClassLoader.
동적 관리 코드 리소스의 부적절한 제어, 위험한 형식의 파일 무제한 업로드, Apache Solr의 신뢰할 수 없는 제어 영역 취약점 기능 포함.이 문제는 Apache Solr에 영향을 줍니다: 6.0.0에서 8.11.2까지, 9.0.0에서 9.4.1 이전. 영향을 받는 버전에서 Solr ConfigSets는 ConfigSets API를 통해 업로드할 Java jar 및 클래스 파일을 허용했습니다. Solr Collections를 백업할 때, 이러한 configSet 파일은 LocalFileSystemRepository를 사용할 때 디스크에 저장됩니다(백업의 기본값). 만약 백업이 Solr가 ClassPath/ClassLoaders에서 사용하는 디렉토리에 저장되었다면, jar와 class 파일들은 신뢰되거나 신뢰되지 않는 ConfigSet과 함께 사용할 수 있을 것이다. Solr가 보안 방식으로 실행되면(인증 사용), 이 취약점은 라이브러리를 추가할 수 있는 기능을 통해 백업 권한을 확장하는 것으로 제한됩니다. 사용자는 문제를 해결하는 버전 8.11.3 또는 9.4.1로 업그레이드하는 것이 좋습니다. 이 버전에서는 다음 보호 기능이 추가되었습니다. * 사용자는 더 이상 Java ClassLoader를 통해 실행할 수 있는 configSet에 파일을 업로드할 수 없습니다. * Backup API는 ClassLoader에서 사용되는 디렉토리로 백업을 저장하는 것을 제한합니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
Apache Software Foundation
Apache Solr
영향 받는 버전
- 6.0.0 이상 8.11.2 이하
- 9.0.0 이상 9.4.1 미만
해결 버전
- 9.4.1 이상