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

Abierto
#3,448 11 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
25/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
HTML
Estrellas
3.9k
Forks
865
Merge medio
3 d 4 h
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OWASP/ASVS

Todos los issues de OWASP/ASVS

Issues similares

Más issues de Documentation

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.