Katalog CVE

CVE-2026-23838

Wysokie
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Tandoor Recipes to menedżer przepisów, który może być instalowany przez menedżer pakietów Nix. Od wersji 23.05 do 26.05, przy domyślnej konfiguracji (SQLite i domyślny MEDIA_ROOT), plik bazy danych db.sqlite3 jest tworzony w tym samym katalogu co MEDIA_ROOT, przez co może być dostępny zewnętrznie, potencjalnie przez Internet, bez uwierzytelnienia.

Ocena ryzyka

Ryzyko polega na nieautoryzowanym dostępie do całej bazy danych, co może ujawnić wrażliwe dane użytkowników, takie jak hasła, przepisy i inne informacje. Atakujący może pobrać plik bazy danych i wykorzystać go do dalszych ataków.

Rekomendacja

Zaleca się natychmiastową aktualizację do wersji 26.05 lub nowszej, która zmienia domyślną wartość MEDIA_ROOT na podkatalog katalogu danych. Dla starszych konfiguracji należy ręcznie zmienić MEDIA_ROOT, aby nie pokrywał się z katalogiem zawierającym bazę danych.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

Tandoor Recipes is a recipe manager than can be installed with the Nix package manager. Starting in version 23.05 and prior to version 26.05, when using the default configuration of Tandoor Recipes, specifically using SQLite and default `MEDIA_ROOT`, the full database file may be externally accessible, potentially on the Internet. The root cause is that the NixOS module configures the working directory of Tandoor Recipes, as well as the value of `MEDIA_ROOT`, to be `/var/lib/tandoor-recipes`. This causes Tandoor Recipes to create its `db.sqlite3` database file in the same directory as `MEDIA_ROOT` causing it to be accessible without authentication through HTTP like any other media file. This is the case when using `GUNICORN_MEDIA=1` or when using a web server like nginx to serve media files. NixOS 26.05 changes the default value of `MEDIA_ROOT` to a sub folder of the data directory. This only applies to configurations with `system.stateVersion` >= 26.05. For older configurations, one o

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS