Failed passwords lock an admin out of sessions they already have

Offen
#3,271 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
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
csharp

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
C#
Sterne
569
Forks
107
Ø Merge
2 Std. 49 Min.
Gemergte PRs (30 T.)
397

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

Alle Issues in fluentcms/FluentCMS

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

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