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

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
html

調査の方向性

まず ASVS のソースで要件 3.4.5 を見つけ、issue #2789 の以前の議論を確認します。要件の文言を、referrer policy を要求するものから、Referer ヘッダーを介した機密情報の漏えいを防止するものへ更新し、その後、提案された変更が issue の本文と一致していることを確認します。

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

説明

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.

主要言語
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 を短くまとめたダイジェスト。