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

オープン
#3,448 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
HTML
スター
3.9k
フォーク
865
平均マージ
3日 4時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OWASP/ASVS のほかの issue

OWASP/ASVS の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。