CVE-2024-1728 Local File Inclusion in gradio-app/gradio
gradio-app/gradio에 있는 국부적으로 파일 포함
설명
gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the `/queue/join` endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.
gradio-app/gradio는 UploadButton 구성 요소에서 사용자가 제공한 입력의 부적절한 유효성 검사로 인해 로컬 파일 포함 취약점에 취약합니다. 공격자는 이 취약점을 이용하여 요청의 파일 경로를 `/queue/join` 엔드포인트로 조작하여 파일시스템의 임의의 파일(예: 개인 SSH 키)을 읽을 수 있다. 이 문제는 잠재적으로 원격 코드 실행으로 이어질 수 있습니다. 이 취약점은 파일 업로드 경로를 처리할 때 존재하며, 공격자가 서버의 의도하지 않은 위치로 파일 업로드를 리디렉션할 수 있도록 합니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
gradio-app
gradio-app/gradio
영향 받는 버전
- 4.19.2 미만
해결 버전
- 4.19.2 이상