CVE-2023-32007 Apache Spark: Shell command injection via Spark UI
아파치 스파크 : 스파크 UI를 통해 쉘 명령 주입 기계 번역
설명
** 할당시 미지원 ** Apache Spark UI는 구성 옵션 spark.acls.enable을 통해 ACL을 활성화 할 수있는 가능성을 제공합니다. 인증 필터를 사용하면 사용자가 애플리케이션을 보거나 수정할 수 있는 액세스 권한을 가지고 있는지 여부를 확인합니다. ACL이 활성화된 경우, HttpSecurityFilter의 코드 경로는 누군가가 임의의 사용자 이름을 제공하여 가장을 수행하도록 허용할 수 있습니다. 그러면 악의적인 사용자가 권한 검사 함수에 도달하여 궁극적으로 입력을 기반으로 Unix 셸 명령을 빌드하고 실행할 수 있습니다. 이것은 사용자 Spark가 현재 실행되고 있는 임의의 쉘 명령 실행을 초래할 것이다. 이 문제는 이전에 CVE-2022-33891로 공개되었지만 잘못된 버전 3.1.3 (EOL 이후)은 영향을받지 않습니다. 참고: 이 취약점은 관리자에서 더 이상 지원하지 않는 제품에만 영향을 줍니다. 지원되는 아파치 스파크 버전 3.4.0으로 업그레이드하는 것이 좋다.
기계 번역
원문 보기
** UNSUPPORTED WHEN ASSIGNED ** The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name. A malicious user might then be able to reach a permission check function that will ultimately build a Unix shell command based on their input, and execute it. This will result in arbitrary shell command execution as the user Spark is currently running as. This issue was disclosed earlier as CVE-2022-33891, but incorrectly claimed version 3.1.3 (which has since gone EOL) would not be affected. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. Users are recommended to upgrade to a supported version of Apache Spark, such as version 3.4.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
Apache Software Foundation
Apache Spark
영향 받는 버전
- 3.1.1 이상 3.2.2 미만
해결 버전
- 3.2.2 이상