v5.0.0-3.4.5 focus to avoid leakage from 'referer' instead of "have a policy"

Đang mở
#3,243 9 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
html
Lĩnh vực
documentation, security

Hướng nghiên cứu

Bắt đầu bằng cách xác định yêu cầu 3.4.5 trong mã nguồn ASVS và xem lại cuộc thảo luận trước đó trong issue #2789. Cập nhật nội dung yêu cầu để yêu cầu ngăn chặn việc rò rỉ thông tin nhạy cảm qua header Referer, thay vì yêu cầu một chính sách referrer, sau đó xác minh rằng các thay đổi được đề xuất khớp với nội dung issue.

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

Mô tả

V3 (prev V50)

Current requirement:

# Description Level
3.4.5 Verify that the application sets a referrer policy to prevent leakage of technically sensitive data to third-party services via the 'Referer' HTTP request header field. This can be done using the Referrer-Policy HTTP response header field or via HTML element attributes. Sensitive data could include path and query data in the URL, and for internal non-public applications also the hostname. 2

Previously discussed in:

  • #2789

Problem to solve:

  • The focus point is not fully correct: it requires to have a referrer policy, but it is not required if there are no resources loaded from external addresses and no links provided to external addresses.

Proposal - change to focus to "verify that technically sensitive information is not leaked via the 'Referer' header field"

Verify that the web server configuration or application prevents leakage of technically sensitive data to third-party services via the 'Referer' HTTP request header field. This can be done using the Referrer-Policy HTTP response header field or via HTML element attributes. Sensitive data could include path and query data in the URL, and for internal non-public applications also the hostname.

Proposed changes:

  • "application" > "web server configuration or application"
  • "sets a referrer policy to prevent" > "prevents"

I consider it not to be a breaking change.

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.