A delete session for one object reveals the rest of a private container
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
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- distributed-systems, security
Direzione di ricerca
Start by tracing how the node validates owner-signed session tokens for header and search requests, using the reproduction steps to compare those checks with payload downloads and deletes. The issue names no source files or tests, so locate the request handlers and authorization tests for these operations. Done means the token permits deleting only its named object and does not allow reading another object's header or listing container objects.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The owner granted permission to delete a single object. That same token lets the recipient list every object in the container and read the header of any of them. On a private container those reads are otherwise forbidden.
Expected Behavior
The token authorizes deletion of the one object it names. Header reads and searches of any other object are denied.
Current Behavior
With that token, a header request for a different object succeeds, and a search returns every object in the container. Downloading another object's payload is still denied. Deleting another object does not complete: the node answers that the session token was not found. The standard command-line client refuses to send a header or search request with a delete token, so this shows up only when a client attaches the token the owner signed and sends it unchanged.
Steps to Reproduce (for bugs)
- Create a private container and store two objects in it.
- As the owner, issue a session for another account. Limit it to the first object and to the delete operation, and sign it with the owner key.
- From the other account, without the token, request the header of the second object. The request is denied.
- Repeat that header request with the token attached as issued. The header is returned.
- Search the container with the same token. Both objects are listed.
- Lingua principale
- Go
- Stelle
- 37
- Fork
- 56
- Merge medio
- 1g 21h
- PR unite (30g)
- 46
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la 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 nspcc-dev/neofs-node
-
bug hal:proposed neofs-storage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nspcc-dev/neofs-node#4325 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Check alpha scope in IRApertahal:proposed I4 neofs-storage S3 security U4
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
nspcc-dev/neofs-node#4280 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
nspcc-dev/neofs-node#4339 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement I3 neofs-storage performance S3 U3
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
nspcc-dev/neofs-node#4337 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug neofs-storage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
nspcc-dev/neofs-node#4336 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nspcc-dev/neofs-node
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
trufflesecurity/trufflehog#5573 ·
I maintainer di solito rispondono entro 1 giorno
-
Type/Improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
OpenNSW/nsw-srilanka#1259 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
katzenpost/katzenpost#1287 ·
I maintainer di solito rispondono entro 2 giorni
-
C-bug O-community X-blathers-untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
cockroachdb/cockroach#176245 · 1 commento ·