8.2.3 is specific to the business context and not neccessarily a best practice or wanted

Aperta
#3,448 11 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
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva

Direzione di ricerca

The work is the wording of requirements 8.2.2 (item-level authorisation) and 8.2.3 (field-level access) in the ASVS chapter 8 entries; find where those requirement texts live in the repository. Read the seven comments first, since the thread may already show whether maintainers want a rewrite or a merge. Done means either a proposed text change that the maintainers accept or a documented decision to keep the wording, not a code change.

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

Descrizione

4) proposal for review V8 (prev V4)

I have a concern about the wording of 8.2.3.

# Description Level
8.2.3 Verify that the application ensures that field-level access is restricted to consumers with explicit permissions to specific fields to mitigate broken object property level authorisation (BOPLA). 2

I agree that field-level access is appropriate when the security architecture warrants it, but that is not always the case.
In document stores or workflows where a user can read or write an entire document or DTO as a unit—and no properties inside it are restricted for that user—item-level authorisation (such as ASVS V8.2.2 for BOLA/IDOR) is the primary concern. In these types of systems, BOPLA is not a concern. As the requirement is currently framed, the application must restrict field-level access, but this is implementation-specific and not always possible. Using separate models, projections, or Data Transfer Objects (DTOs) per consumer or role is a valid, often cleaner way to enforce property-level security.

I propose we revise the text. Perhaps we could combine 8.2.2 and 8.2.3 to reflect this and avoid misunderstandings. I am raising this because it has come up during our ASVS verification since we started doing this in 2020, but we have no way to accommodate the requirement because our software architecture isn't built around field/property-level access.

Lingua principale
HTML
Stelle
3.9k
Fork
865
Merge medio
3g 4h
PR unite (30g)
19

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 OWASP/ASVS

Tutte le issue di OWASP/ASVS

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.