API token principal not bound to the minting caller
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
- Ambito
- authentication, backend, security
Direzione di ricerca
Read the core token record write paths, especially the create chain and the owner's commit point for routed updates and data changes. Compare those paths with ApiTokenVerdict and Plugins ApiTokenService.Validate, which read the token principal. Done means new tokens can name only their writer (with the stated service token exception), existing principals cannot change, and a regression fails on current main.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
An API token's principal (ApiToken.UserId, which every token verdict authenticates as) is not bound to the caller that writes the token record. A write path that lets a person set or change that field lets the token authenticate as a principal the writer is not.
Scope
- Core: the write seams for token records (create chain, and the owner's commit point for routed updates and data changes).
- Both token verdicts read the principal from the record: core
ApiTokenVerdictand the PluginsApiTokenService.Validate. A write-side binding covers both.
Fix
A token's principal is bound to its writer: a new token may name only the writer (service tokens only from inside their own service token namespace), and an existing token's principal never changes. The binding is enforced at the create chain and at the commit point, and it recognises the credential by its content rather than by the node type. Fix PR to follow, with a regression that fails on current main.
Not established
Whether this was ever used is not known. Tokens already in stores were not audited for a principal that differs from their partition.
- Lingua principale
- C#
- Stelle
- 12
- Fork
- 5
- Merge medio
- 5h 37m
- PR unite (30g)
- 959
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Systemorph/MeshWeaver
-
bug ci-template-feed sev:M
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Systemorph/MeshWeaver#7660 ·
I maintainer di solito rispondono entro 1 giorno
-
chore ci-artifact-store-miss sev:M
Difficoltà 4/5 3-5 giorni Idoneità per principianti 44/100
Systemorph/MeshWeaver#7656 ·
I maintainer di solito rispondono entro 1 giorno
-
bug sev:H
Difficoltà 4/5 1-2 giorni Idoneità per principianti 25/100
Systemorph/MeshWeaver#7654 ·
I maintainer di solito rispondono entro 1 giorno
-
GitSync: an Ignore pattern added after the first import leaves the imported nodes in place, and on a one-way Space nobody can remove themForse già presa @rbuergi l’ha presa oggi. Apertaenhancement feature:gitsync-ownership feature:node-delete sev:M
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Systemorph/MeshWeaver#7611 ·
I maintainer di solito rispondono entro 1 giorno
-
Mesh teardown leaves mail module generations loaded — one lease still held on Mail.MicrosoftGraph and Mail.GmailForse già presa @rbuergi l’ha presa oggi. Apertabug sev:L
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Systemorph/MeshWeaver#7577 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Systemorph/MeshWeaver
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
possible bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Include host.wslc.internal in the HTTPS development certificateForse già presa @afscrome l’ha presa oggi. Apertaarea-commandlinetools
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
dotnet/aspnetcore#70122 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
:1st_place_medal: good first issue :cowboy_hat_face: refactor :roller_coaster: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ApplETS/Backend-Hello#78 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 2 giorni