Katalog CVE

CVE-2026-101090

KrytyczneCVSS 9.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Nezha 2.2.3 zawiera regresję wstrzykiwania nagłówka Host w punkcie końcowym przekierowania OAuth2. Gdy opcjonalne ustawienie dashboard_host jest puste, /api/v1/oauth2/{provider} odzwierciedla nagłówek Host dostarczony przez atakującego do redirect_uri wysyłanego do dostawcy tożsamości. Atakujący może przejąć kod autoryzacyjny ofiary i przejąć konto.

Ocena ryzyka

Atakujący może przejąć konta użytkowników, co może prowadzić do nieautoryzowanego dostępu do danych i zasobów systemu Nezha.

Rekomendacja

Należy ustawić dashboard_host na stałą wartość lub zastosować poprawkę, jeśli dostępna. Do czasu wydania poprawki należy ograniczyć zaufanie do nagłówków Host.

Inne podatności w Nezha

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

Nezha 2.2.3 contains a Host header injection regression in the OAuth2 redirect endpoint. When the new optional dashboard_host setting is empty, /api/v1/oauth2/{provider} (cmd/dashboard/controller/oauth2.go) reflects the attacker-supplied HTTP Host header into the redirect_uri sent to the identity provider instead of falling back to the configured install_host. An attacker who induces a victim to begin OAuth2 login via a request that reaches Nezha with a forged Host header can cause an attacker-controlled callback URL to be used as the redirect_uri; if the OAuth2 provider accepts it, the victim's authorization code is delivered to the attacker origin, allowing the attacker to complete the OAuth2 login/binding flow and take over the account. This regresses the fix for GHSA-9rc6-8cjv-rcvx and is configuration-dependent (dashboard_host empty). At the time of the advisory no patched version was available.

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