8.2.3 is specific to the business context and not neccessarily a best practice or wanted
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- documentation, security
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- HTML
- Stars
- 3.9k
- Forks
- 865
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OWASP/ASVS
-
Crypto appendix: fix title "Post-Quantum Encryption Standards"May be free again A pull request for this issue was closed without being merged. OpenAppendix C
Difficulty 1/5 Under an hour Newbie friendliness 85/100
OWASP/ASVS#3468 · 3 comments ·
Maintainers usually reply within 1 day
-
Crypto appendix: fix notations wrt RSAPossibly taken @randomstuff claimed this 1 day ago. Open1) Discussion ongoing Appendix C V11 (prev V6)
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OWASP/ASVS#3467 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
v5.0.0 4.2.1 cites RFC 2616, which is obsolete; RFC 9112 section 6.3 words the rule differentlyOpenV4 (prev V13) WG wanted
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
V6 (prev V2)
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OWASP/ASVS#3433 · 4 comments ·
Maintainers usually reply within 1 day
-
Update proposal for v5.0.0-3.3.1 and v5.0.0-3.3.3 to cover __Host-Http- and __Http- cookie name prefixesMay be free again A pull request for this issue was closed without being merged. Open1) Discussion ongoing V3 (prev V50)
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OWASP/ASVS#3429 · 7 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
lem-project/lem#2525 ·
Maintainers usually reply within 1 day
-
infra
Difficulty 1/5 Under an hour Newbie friendliness 94/100
Maintainers usually reply within 1 day
-
Add Strange QuarkOpen
Difficulty 1/5 Under an hour Newbie friendliness 90/100