CVE-2024-1873 Path Traversal and Denial of Service in parisneo/lollms-webui
파리 / 롤름 - webui에서 서비스의 경로 횡단 및 거부
설명
parisneo/lollms-webui is vulnerable to path traversal and denial of service attacks due to an exposed `/select_database` endpoint in version a9d16b0. The endpoint improperly handles file paths, allowing attackers to specify absolute paths when interacting with the `DiscussionsDB` instance. This flaw enables attackers to create directories anywhere on the system where the application has permissions, potentially leading to denial of service by creating directories with names of critical files, such as HTTPS certificate files, causing server startup failures. Additionally, attackers can manipulate the database path, resulting in the loss of client data by constantly changing the file location to an attacker-controlled location, scattering the data across the filesystem and making recovery difficult.
parisneo/lollms-webui 는 a9d16b0 버전 내 노출된 `/select_database` 엔드포인트로 인해 경로 횡단 및 서비스 거부 공격에 취약합니다. 엔드포인트는 파일 경로를 부적절하게 처리하여 공격자가 `DiscussionsDB` 인스턴스와 상호 작용할 때 절대 경로를 지정할 수 있도록 합니다. 이 결함을 통해 공격자는 애플리케이션에 권한이 있는 시스템 어디에나 디렉터리를 만들 수 있으며, HTTPS 인증서 파일과 같은 중요한 파일의 이름을 가진 디렉터리를 만들어 서버 시작 실패를 일으킬 수 있습니다. 또한 공격자는 데이터베이스 경로를 조작하여 파일 위치를 공격자가 제어하는 위치로 끊임없이 변경하고 파일 시스템에 데이터를 분산하고 복구를 어렵게 만들어 클라이언트 데이터를 잃을 수 있습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
parisneo
parisneo/lollms-webui
영향 받는 버전
- v9.3 미만
해결 버전
- v9.3 이상