CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-33149

High
Published: Translated: NVD NIST

Summary

Tandoor Recipes to aplikacja do zarządzania przepisami, planowania posiłków i tworzenia list zakupów. W wersjach do 2.5.3 domyślnie ustawiono ALLOWED_HOSTS na '*', co pozwala Django na akceptację dowolnej wartości w nagłówku HTTP Host bez walidacji.

Risk Assessment

Atakujący, który może wysyłać żądania do aplikacji z odpowiednio skonstruowanym nagłówkiem Host, może manipulować wszystkimi generowanymi przez serwer absolutnymi URL-ami. Najpoważniejszym skutkiem jest złośliwe podmienienie linków zaproszeń, co może prowadzić do przejęcia tokenów zaproszeń przez atakującego.

Recommendation

Zaleca się aktualizację aplikacji do najnowszej wersji, aby zminimalizować ryzyko związane z tą podatnością. Należy również rozważyć ręczne ustawienie ALLOWED_HOSTS na odpowiednie wartości, aby ograniczyć akceptowane nagłówki Host.

Related vulnerabilities

Original NVD description (English source)

Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Versions up to and including 2.5.3 set ALLOWED_HOSTS = '*' by default, which causes Django to accept any value in the HTTP Host header without validation. The application uses request.build_absolute_uri() to generate absolute URLs in multiple contexts, including invite link emails, API pagination, and OpenAPI schema generation. An attacker who can send requests to the application with a crafted Host header can manipulate all server-generated absolute URLs. The most critical impact is invite link poisoning: when an admin creates an invite and the application sends the invite email, the link points to the attacker's server instead of the real application. When the victim clicks the link, the invite token is sent to the attacker, who can then use it at the real application. As of time of publication, it is unknown if a patched version is available.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS