Failed passwords lock an admin out of sessions they already have

Đang mở
#3,271 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
authentication, backend

Hướng nghiên cứu

Start with MaySignInAsync and the authorize, refresh redemption, and member sign-in paths named in ConnectEndpoints.cs and MemberConnect.cs. Trace how lockout, deactivation, and security stamp checks affect existing cookie sessions and refresh tokens. Add coverage for the two acceptance conditions, then verify that lockout blocks password sign-in while existing sessions survive until deactivation or a new stamp.

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

Mô tả

area:identity security type:bug

Problem

MaySignInAsync includes lockout and gates the authorize endpoint with a valid cookie and code and refresh redemption (ConnectEndpoints.cs:97,197,501-502; members: MemberConnect.cs:80). Lockout is raised by unauthenticated failed passwords (5 attempts, 5 minutes). An attacker who knows an admin's user name sends 5 wrong passwords every 5 minutes from one address, and the admin's admin and MCP sessions all fail; repeated for every Super Admin it keeps every administrator out.

Proposal

Let only deactivation and a new security stamp end existing sessions; keep lockout for password sign-in. Consider a per-account plus per-address throttle so a lockout is not global.

Acceptance

  • A locked-out user's existing refresh tokens and cookie sessions keep working
  • Deactivation and a new stamp still end them

Found in the code review of 17 Nov 2026 (S5).

Ngôn ngữ chính
C#
Star
569
Fork
107
Merge trung bình
2 giờ 49 phút
Pull request đã merge (30 ngày)
397

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 fluentcms/FluentCMS

Tất cả issue của fluentcms/FluentCMS

Issue tương tự

Thêm issue về C#

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.