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

Aperta
#3,243 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
html

Direzione di ricerca

Inizia individuando il requisito 3.4.5 nel sorgente di ASVS e rivedi la discussione precedente nell’issue #2789. Aggiorna il testo del requisito in modo che richieda di prevenire la fuga di informazioni sensibili tramite l’header Referer, invece di richiedere una policy del referrer, quindi verifica che le modifiche proposte corrispondano al testo dell’issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
HTML
Stelle
3.9k
Fork
865
Merge medio
3g 4h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OWASP/ASVS

Tutte le issue di OWASP/ASVS

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.