Failed passwords lock an admin out of sessions they already have

Aperta
#3,271 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
C#
Stelle
569
Fork
107
Merge medio
2h 49m
PR unite (30g)
397

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fluentcms/FluentCMS

Tutte le issue di fluentcms/FluentCMS

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.