Jellystat является свободным и открытым исходным кодом Statistics App for Jellyfin. До версии 1.1.10 несколько конечных точек API в Jellystat создавали запросы SQL путем интерполяции несанированных полей тела запроса непосредственно в необработанные строки SQL. An authenticated user can inject arbitrary SQL via `POST /api/getUserDetails` and `POST /api/getLibrary`, enabling full read of any table in the database - including `app_config`, which stores the Jellystat admin credentials, the Jellyfin API key, and the Jellyfin host URL.
Поскольку уязвимый сайт вызова отправляет через простой протокол запроса node-postgres (без массива параметров), разрешены стекированные запросы, что увеличивает инъекцию от раскрытия данных до произвольного выполнения команды на хосте PostgreSQL через COPY ... TO PROGRAM (неопр.). Under the role shipped by the project's `docker-compose.yml` (a PostgreSQL superuser), no additional privileges are required to reach the RCE primitive.
Версия 1.1.10 содержит исправление.
Показать оригинальное описание (EN)
Jellystat is a free and open source Statistics App for Jellyfin. Prior to version 1.1.10, multiple API endpoints in Jellystat build SQL queries by interpolating unsanitized request-body fields directly into raw SQL strings. An authenticated user can inject arbitrary SQL via `POST /api/getUserDetails` and `POST /api/getLibrary`, enabling full read of any table in the database - including `app_config`, which stores the Jellystat admin credentials, the Jellyfin API key, and the Jellyfin host URL. Because the vulnerable call site dispatches via `node-postgres`'s simple query protocol (no parameter array is passed), stacked queries are allowed, which escalates the injection from data disclosure to arbitrary command execution on the PostgreSQL host via `COPY ... TO PROGRAM`. Under the role shipped by the project's `docker-compose.yml` (a PostgreSQL superuser), no additional privileges are required to reach the RCE primitive. Version 1.1.10 contains a fix.
Характеристики атаки
Последствия
Строка CVSS v3.1