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

Đang mở
#971 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
0
Fork
4
Merge trung bình
5 giờ 36 phút
Pull request đã merge (30 ngày)
509

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Controlvar/controlvar

Tất cả issue của Controlvar/controlvar

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.