CVE-2023-43662 Arbitrary file read vulnerability in Shoko Server
Shoko Server의 임의의 파일 읽기 취약점
설명
ShokoServer is a media server which specializes in organizing anime. In affected versions the `/api/Image/WithPath` endpoint is accessible without authentication and is supposed to return default server images. The endpoint accepts the parameter `serverImagePath`, which is not sanitized in any way before being passed to `System.IO.File.OpenRead`, which results in an arbitrary file read. This issue may lead to an arbitrary file read which is exacerbated in the windows installer which installs the ShokoServer as administrator. Any unauthenticated attacker may be able to access sensitive information and read files stored on the server. The `/api/Image/WithPath` endpoint has been removed in commit `6c57ba0f0` which will be included in subsequent releases. Users should limit access to the `/api/Image/WithPath` endpoint or manually patch their installations until a patched release is made. This issue was discovered by the GitHub Security lab and is also indexed as GHSL-2023-191.
ShokoServer는 애니메이션을 조직하는 전문 미디어 서버입니다. 영향을 받는 버전에서 `/api/Image/WithPath` 엔드포인트는 인증 없이 액세스할 수 있으며 기본 서버 이미지를 반환해야 합니다. 엔드포인트는 `System.IO.File.OpenRead`로 전달되기 전에 어떤 식 으로든 살균되지 않은 `serverImagePath` 매개변수를 수락하며, 이 매개변수는 임의 파일을 읽습니다. 이 문제는 ShokoServer를 관리자로 설치하는 Windows 설치 프로그램에서 악화되는 임의의 파일 읽기로 이어질 수 있습니다. 인증되지 않은 공격자는 서버에 저장된 파일에 액세스하고 파일을 읽을 수 있습니다. 다음 릴리스에 포함될 `api/Image/WithPath` 엔드포인트가 커밋 `6c57ba0f0`에서 제거되었습니다. 사용자는 `/api/Image/WithPath' 엔드포인트에 대한 액세스를 제한하거나 패치된 릴리스가 만들어질 때까지 수동으로 설치를 패치해야 합니다. 이 문제는 GitHub 보안 연구소에서 발견되었으며 GHSL-2023-191로 인덱싱됩니다.
영향 받는 제품 제품 1개
-
ShokoAnime
ShokoServer
영향 받는 버전
- 4.2.2 이하
해결 버전
해결된 버전 정보가 없습니다.