CVE-2024-53677 Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
아파치 스트럿: 업로드된 파일과 일반 필드에 setter를 섞으면 우회 파일 업로드 검사가 허용된다.
설명
File upload logic in Apache Struts is flawed. An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. This issue affects Apache Struts: from 2.0.0 before 6.4.0. Users are recommended to upgrade to version 6.4.0 at least and migrate to the new file upload mechanism https://struts.apache.org/core-developers/file-upload . If you are not using an old file upload logic based on FileuploadInterceptor your application is safe. You can find more details in https://cwiki.apache.org/confluence/display/WW/S2-067
Apache Struts의 파일 업로드 로직에 결함이 있습니다. 공격자는 파일 업로드 파라메터를 조작하여 경로 탐색을 활성화할 수 있으며, 경우에 따라 원격 코드 실행을 수행하는 데 사용할 수 있는 악성 파일을 업로드할 수 있습니다. 이 문제는 Apache Struts에 영향을 줍니다: 2.0.0에서 6.4.0 이전. 사용자는 적어도 버전 6.4.0으로 업그레이드하고 새 파일 업로드 메커니즘으로 마이그레이션하는 것이 좋습니다. https://struts.apache.org/core-developers/file-upload . FileuploadInterceptor를 기반으로 한 이전 파일 업로드 로직을 사용하지 않는 경우 응용 프로그램은 안전합니다. 자세한 내용은 https://cwiki.apache.org/confluence/display/WW/S2-067에서 확인할 수 있습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
Apache Software Foundation
Apache Struts
영향 받는 버전
- 2.0.0 이상 6.4.0 미만
해결 버전
- 6.4.0 이상