Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-101090

CRITICAL · 9.8 CVSS Gepubliceerd: CWE-601

Beschrijving NL

Nezha 2.2.3 bevat een Host header injectie regressie in het OAuth2 redirect eindpunt. Wanneer de nieuwe optionele dashboard_host-instelling leeg is, weerspiegelt/api/v1/oauth2/{provider} (cmd/dashboard/controller/oauth2.go) de door de aanvaller geleverde HTTP-host-header in de redirect_uri die naar de identiteitsprovider is verzonden in plaats van terug te vallen naar de geconfigureerde install_host. Een aanvaller die een slachtoffer ertoe aanzet om met OAuth2-login te beginnen via een verzoek dat Nezha bereikt met een vervalste Host-header, kan ervoor zorgen dat een door de aanvaller gecontroleerde callback-URL wordt gebruikt als de redirect_URI; als de OAuth2-provider deze accepteert, wordt de autorisatiecode van het slachtoffer afgeleverd bij de oorsprong van de aanvaller, waardoor de aanvaller de OAuth2-login/binding-flow kan voltooien en het account kan overnemen. Dit regresseert de oplossing voor GHSA-9rc6-8cjv-rcvx en is configuratieafhankelijk (dashboard_host leeg). Ten tijde van het advies was er geen gepatchte versie beschikbaar.

Origineel (Engels) tonen

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.

References