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

Đang mở
#3,448 11 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
documentation, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
HTML
Star
3.9k
Fork
865
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OWASP/ASVS

Tất cả issue của OWASP/ASVS

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.