SSO provider endpoints are not checked against the outbound-connection rule

Offen
#971 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
python

Rechercherichtung

Start at the Okta OIDC sign-in callback and the SSO configuration save flow, then find the outbound-connection check already used by warehouse connectors. Reuse that rule for sso_url when configuration is saved and when sign-in builds endpoint URLs. Add tests covering acceptance of a public HTTPS host and rejection of loopback or private hosts, with redirects still disabled.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement post-launch

The OIDC sign-in callback for the okta SSO provider builds its endpoint URLs from the provider's configured sso_url. The URL must be https:// and redirects are not followed, but the host is not checked against the outbound-connection rule the warehouse connectors apply (public addresses only, no loopback, link-local or private ranges).

The sso_url is set only by an ADMIN, so this is hardening rather than a defect anyone else can reach.

Expected: the SSO provider endpoints go through the same outbound-connection check as the warehouse connectors, both when the SSO configuration is saved and when a sign-in uses it, with a test that a loopback or private host is refused.

Vorherrschende Sprache
Python
Sterne
0
Forks
4
Ø Merge
6 Std. 5 Min.
Gemergte PRs (30 T.)
453

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Controlvar/controlvar

Alle Issues in Controlvar/controlvar

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.